Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Woooh, an absolute winner with 0.06 sec!
I had to look up the use of the square brackets, never seen that before. Was curious to see if a Range version of this works as well, like: Range("C1", "C50000") = Range("A1", "A50000") + Range("B1", "B50000") but obviously that doesn't. My VBA manual (or VB Help) doesn't seem to mention this list processing method at all. Any documentation you can point me to? Thanks! -Joni "Dana DeLouis" wrote: i like to use what I call a poor-man's version of list processing... [C1:C50000] = [A1:A50000+B1:B50000] HTH Dana DeLouis jonigr wrote: This simple routine has crept into my code and I use it thoughtlessly and often: For i = 1 To 50000 ' some seriously large value here! Range("C" & i).Value = Range("A" & i).Value + Range("B" & i).Value Next i I discovered it is a time-consumer, searched for alternatives and found several, but am just not VBA fluent enough to judge their efficiency. Any more experienced programmers can help me find the truly fastest solution? Thanks! -Joni |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Large Time totals not summing. | Excel Worksheet Functions | |||
Large Time values not summing | Excel Worksheet Functions | |||
more efficient way to lookup a range? | Excel Discussion (Misc queries) | |||
Summing large numbers... | Excel Worksheet Functions | |||
Summing large columns | Excel Worksheet Functions |