This should work according to another stack overflow post but its not:
Dim arrWsNames As String() = {\"Value1\", \"Value2\"}
Can anyone let
Using
Dim myarray As Variant
works but
Dim myarray As String
doesn't so I sitck to Variant