This should work according to another stack overflow post but its not:
Dim arrWsNames As String() = {"Value1", "Value2"}
Can anyone let me know what is wrong?
Try this:
Dim myarray As Variant myarray = Array("Cat", "Dog", "Rabbit")
2.1m questions
2.1m answers
60 comments
57.0k users