polarisking
Member
I'm trying to load a 6 element array with 6 defined string constants
The "arr =" statement is failing on "Syntax Error". Any ideas?
The "arr =" statement is failing on "Syntax Error". Any ideas?
Code:
Dim arr As Variant
Const varA As String = "A"
Const varB As String = "B"
Const varC As String = "C"
Const varD As String = "D"
Const varE As String = "E"
Const varF As String = "F"
arr = (varA,varB,varC,varD,varE,varF)