I am still new to VBA. here is the code:
Sub Macro1()
Dim NumberSeq() As Integer = {1,2,3,4}
End Sub
It's just the initialization of an array and I saw it work for others. But I always get the warning window: Compile error: Expected: end of statement with highlight on the equal mark"="
Don't know what happened here. Please advice, thank you a lot!!
Dim a(): a = [{1,2,3}]
- but note that's a variant array not an integer one – Tim Williams Jun 17 '13 at 21:59