Anesthaesia
Technical User
Hi All,
I need to populate an Excel spreadsheet with a large amount of data. Everything is working fine, but it takes ages to write the entries.
As the data needs to be a in a specific order its going into an array and then to Excel using "oSheet.Cells(nRow, nCol).Value = strData"
Is there any way to speed this up? It takes about 2sec to write one row (32 columns) and there will be about 800 rows, which means over 20 minutes to do a single sheet.
Any suggestions on how to deal with this would be great (VB6 & Excel 2003)
I need to populate an Excel spreadsheet with a large amount of data. Everything is working fine, but it takes ages to write the entries.
As the data needs to be a in a specific order its going into an array and then to Excel using "oSheet.Cells(nRow, nCol).Value = strData"
Is there any way to speed this up? It takes about 2sec to write one row (32 columns) and there will be about 800 rows, which means over 20 minutes to do a single sheet.
Any suggestions on how to deal with this would be great (VB6 & Excel 2003)