Can an array be redim inside a for loop?

  • Thread starter Thread starter kcenac
  • Start date Start date
K

kcenac

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.
 
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
 
Back
Top