Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello Excel Community, For many years, I have been programming in EXCEL VBA and often use 2 dimensional arrays, usually of type Double of Variant. Normally, I would declare the array such as : Dim aMatrix(10000,50) as Double Some math code would populate all the cells and I would then print the aMatrix to a worksheet by nesting in a double loop: for i... for j... Sheet1.Cells(i,j).Value = aMatrix(i,j) The problem here is that Excel really slows down after a couple of thousand. Is there a fast way to bulk copy an array to a worksheet ? I am looking for a function along the lines of FastCopytoWorkSheet (aMatrix() as double, aRange as Range) .... Is it best to just turn off screen updating or is there a more elegant way ? Many thanks and best regards, Alberto -- aafraga ------------------------------------------------------------------------ aafraga's Profile: http://www.excelforum.com/member.php...o&userid=31314 View this thread: http://www.excelforum.com/showthread...hreadid=510013 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Best way to easily export large amount of data from Excel | Excel Discussion (Misc queries) | |||
range to VBA array, and doing this fast | Excel Programming | |||
Remove First Row from Variant Array FAST? | Excel Programming | |||
Reading Super Large Ranges from Worksheet into Array | Excel Programming | |||
Fast Export | Excel Programming |