Is it possible to create a constant two dimensional array in VBA using access only? I have Tried:
Const s1 As String = [{"a","b","c";"1","2","3"}]
from How to initialize a multidimensional array variable in vba for excel and
Const s2 as variant = array(array("a","b","c"),array("1","2","3"))
But neither work. I checked to see if they work as regular declarations.
Dim s1 As String = [{"a","b","c";"1","2","3"}]
fails, and it seems to be because i am not using Excel.
dim s2 as variant = array(array("a","b","c"),array("1","2","3"))
succeeds.