000Steve000
IS-IT--Management
I currently have a large amount of data (10000 rows x 10 columns) of string data held in an array during the execution of a macro. I would like to write this to an empty sheet. I am currently using a for and next loop like:
The macro takes 56 seconds on my computer and this bit of it is the main culprit. Does anyone have any ideas how I can speed up the process?
Code:
For 1 = 1 to 10000
worksheets(1).cells(i,1) = Myarray(i,1)
worksheets(1).cells(i,2) = Myarray(i,2)
'etc up to 10
next i