J jfp Sep 5, 2003 #1 Is it possible to use "const" with an array? If so, what is the syntax for initializing the array?
M Marshall Barton Sep 6, 2003 #2 jfp said: Is it possible to use "const" with an array? If so, what is the syntax for initializing the array? Click to expand... No. I usually decalare a Variant variable and then use the Array function to initialize it. Dim varX As Variant varX = Array(1,2,3,4,5,6,7,8,9) y = varX(k)
jfp said: Is it possible to use "const" with an array? If so, what is the syntax for initializing the array? Click to expand... No. I usually decalare a Variant variable and then use the Array function to initialize it. Dim varX As Variant varX = Array(1,2,3,4,5,6,7,8,9) y = varX(k)