sorry I haven’t found the way to solve this issue. When trying to define an array in this way
Dim Arr As Variant: Arr = [{"Value1", "Value2"}]
works perfectly, but when trying to do the same using variables (i.e.)
Dim Arr as variant
v1 = "Value1"
v2 = "Value2"
Arr = [{v1, v2}]
will throw a syntax error. Please is there some way to solve it? I do need to use variables to populate the array. Thanks in advance