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?