Declare and Initialize String Array in VBA

  • by
declare-and-initialize-string-array-in-vba

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?

Leave a Reply

Your email address will not be published. Required fields are marked *