thorpyuk
Well-known Member
- Joined
- Mar 14, 2006
- Messages
- 1,453
Hi All,
I have an array containing 45 items in a single column, and can't for the life of me see whats wrong with this:
I want to add an additional 5 columns into my array and populate them, but i cant get past this redim preserve statement!
k evaluates correctly as 45 by the way. dic.keys refers to a scripting dictionary containing 45 unique items
Thanks all
I have an array containing 45 items in a single column, and can't for the life of me see whats wrong with this:
Code:
dim avarData()
avarData = dic.keys
k = UBound(avarData, 1)
ReDim Preserve avarData(1 To k, 1 To 6)
I want to add an additional 5 columns into my array and populate them, but i cant get past this redim preserve statement!
k evaluates correctly as 45 by the way. dic.keys refers to a scripting dictionary containing 45 unique items
Thanks all
Last edited: