Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Export very slow
I have a program that does some moderately serious data manipulation.
Within the code, it reads 3000 lines from a worksheet, summarizes them into 6 columns, sorts on one of the columns, then populates a text box with formatted output. This all takes 2-3 seconds. I then have a simple routine that basically says: With worksheet("Sheet1") for i=1 to 600 for j=1 to 6 .cells(i,j)=array(i,j) next j next i end with end sub This routine alone takes almost 2 minutes. Is there a faster way? Seems horribly slow to just fill about 3600 cells with already-calculated values. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Export very slow
With worksheet("Sheet1")
.cells(1,j).Resize(600,6)=array end with end sub should be faster. -- Regards, Tom Ogilvy "Hank Youngerman" wrote: I have a program that does some moderately serious data manipulation. Within the code, it reads 3000 lines from a worksheet, summarizes them into 6 columns, sorts on one of the columns, then populates a text box with formatted output. This all takes 2-3 seconds. I then have a simple routine that basically says: With worksheet("Sheet1") for i=1 to 600 for j=1 to 6 .cells(i,j)=array(i,j) next j next i end with end sub This routine alone takes almost 2 minutes. Is there a faster way? Seems horribly slow to just fill about 3600 cells with already-calculated values. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Export Excel tuncating leading zeros while export to excel from da | Setting up and Configuration of Excel | |||
Chart.Export images are shrinking as I export more images | Charts and Charting in Excel | |||
VERY SLOW | Excel Discussion (Misc queries) | |||
export re-order input fields to export file [csv] | Excel Worksheet Functions | |||
Slow Excel Navigation with Up / Down Arrow and slow scrolling | Excel Discussion (Misc queries) |