T
tcb
Can I create a variable, populate it with values, and use that
variable in an array?
I know this below won't work:
Dim arr_PrimeArray1 As Variant
Dim ArrayValues As Variant
ArrayValues = "1, 2, 3, 5, 7"
arr_PrimeArray1 = Array(ArrayValues)
as it would recognize this as one value: "1, 2, 3, 5, 7"
and understand why, but is there another way?
I want it to recognize at as several individual values:
arr_PrimeArray1 = Array(1, 2, 3, 5, 7)
variable in an array?
I know this below won't work:
Dim arr_PrimeArray1 As Variant
Dim ArrayValues As Variant
ArrayValues = "1, 2, 3, 5, 7"
arr_PrimeArray1 = Array(ArrayValues)
as it would recognize this as one value: "1, 2, 3, 5, 7"
and understand why, but is there another way?
I want it to recognize at as several individual values:
arr_PrimeArray1 = Array(1, 2, 3, 5, 7)