I am new to arrays and keep having the same issue with any array I declare. For instance, the below code returns the error "compile error: Expected: end of statement". What am I doing wrong? I tried restarting my computer, and starting a brand new module, but to no avail.
Sub somesub()
Dim numbers = New Integer() {1, 2, 4, 8}
End Sub
Bookmarks