Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can an array be redim inside a for loop?
Am trying to write a vba program which needs to redim an array and
populate it with new numbers. But when i get to the part of the code with for loop statement with the redim array inside the debugger just jumps over that part of the code and go to another section. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can an array be redim inside a for loop?
Yes, you can ReDim a dynamic array inside a loop (you can ReDim it at any
time actually). Show us your code and we'll see if we can spot any problems in it. Rick "kcenac" wrote in message ... Am trying to write a vba program which needs to redim an array and populate it with new numbers. But when i get to the part of the code with for loop statement with the redim array inside the debugger just jumps over that part of the code and go to another section. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can an array be redim inside a for loop?
Hi
Like always, show us your code for further comments. Regards, Per "kcenac" skrev i meddelelsen ... Am trying to write a vba program which needs to redim an array and populate it with new numbers. But when i get to the part of the code with for loop statement with the redim array inside the debugger just jumps over that part of the code and go to another section. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Redimming an array dynamically assigned from range (how to redim first dimension of a 2-D array? /or/ reverse the original array order) | Excel Programming | |||
ReDim Array | Excel Programming | |||
ReDim string in loop | Excel Programming | |||
Create an array inside a For...Next loop | Excel Programming | |||
ReDim Object array as parameter of Variant array | Excel Programming |