Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2004

Tip: Looking for answers? Try searching our database.

Fast way to insert data from database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gh - 20 Apr 2004 17:34 GMT
I wrote a VB program that retrive data from SQL server to make a excel
report. The report has some static text, such as report header, report
footer, etc. Besides I need to set the font size of certains columns,
therefore, I cannot directly use the ADO recordset directly.

To make the excel report, I need to add the data cell by cell using
WorkSheet.Cells() method, it works but its performance is slow.

Is there any way for me to inserting the data from database with good
performace?
DNF Karran - 20 Apr 2004 21:10 GMT
Perhaps have an intermediate stage in the process and get the data usin
ODBC in a new worksheet then pull it across into your target workshee
from there?

Dunca

--
Message posted from http://www.ExcelForum.com
onedaywhen - 21 Apr 2004 17:13 GMT
Put the raw data in using ADO (good performance) then open it and do
the formatting etc.

--

> I wrote a VB program that retrive data from SQL server to make a excel
> report. The report has some static text, such as report header, report
[quoted text clipped - 6 lines]
> Is there any way for me to inserting the data from database with good
> performace?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.