Excel allegedly allows the storage of arrays of constants in individual cells (e.g. A1={1,2,3,4,5}
). This is referred to as an "Array Constant." This should make for a very powerful feature allowing users to get more than 2 dimensions out of a spreadsheet. However, I can't seem to figure out how to extract the actual data without having to parse it as a string first. The latter method defeats the whole purpose of the array constant.
If one gets Range('A1').Value
from the example above, it returns 1
.
Also, IsArray(Range("A1"))
returns False
while IsArray(Range("A1:A2"))
returns True
.
Am I missing something, or are these "Array Constants", not actually "Arrays" but just Strings or Doubles?
Range("A1").FormulaArray
. Good thing is that if the Range doesn't contain Array then it will returnNull
– Pankaj Jaju Dec 13 '13 at 10:36