Hi
Please excuse my ignorance. I am trying to declare an array with a variable amount but I'm having no luck.
this is what I've tried
Dim Number as string
X = Val(Number)
dim Array(X) as string
I've also tried
dim Array(val(Numbe r)) as string
but with both I get a compile error "constant expression required"
Can someone help me. I have tried looking up all my reference books and on the Internet.
Frank
Please excuse my ignorance. I am trying to declare an array with a variable amount but I'm having no luck.
this is what I've tried
Dim Number as string
X = Val(Number)
dim Array(X) as string
I've also tried
dim Array(val(Numbe r)) as string
but with both I get a compile error "constant expression required"
Can someone help me. I have tried looking up all my reference books and on the Internet.
Frank
Comment