ezyeric
10-02-2001, 10:06 PM
I have an array which a declared like so...
Global MsgArray()
Then in a function I Redimed it like so...
Redim MsgArray(0,1)
I want to make the first dimension higher. But won;t let me when I do.
Redim Preserve MsgArray(1,1)
Gives error "subscript out of range"
I understand ya not supposed to be able to change first dimension when using preserve...only last dimension. But isn't there a way around this? Or something else I can do?
Please,
Thanx,
Eric
Global MsgArray()
Then in a function I Redimed it like so...
Redim MsgArray(0,1)
I want to make the first dimension higher. But won;t let me when I do.
Redim Preserve MsgArray(1,1)
Gives error "subscript out of range"
I understand ya not supposed to be able to change first dimension when using preserve...only last dimension. But isn't there a way around this? Or something else I can do?
Please,
Thanx,
Eric