Hi,
To use ReDim statement you should create an array with no size.
Dim a(5)
This statement will create an fixed size array, so you can not use redim with this array.
Instead Use :
Cheers
TurtleRock
To use ReDim statement you should create an array with no size.
Dim a(5)
This statement will create an fixed size array, so you can not use redim with this array.
Instead Use :
Code:
Dim a()
ReDim a(10)
ReDim a(20)
Cheers
TurtleRock