You can't declare arrays like that in VBA.
There are various options for declaring/populating arrays, this is perhaps the simplest.
![]()
Dim numbers As Variant numbers = Array(1,2,4,8)
You can't declare arrays like that in VBA.
There are various options for declaring/populating arrays, this is perhaps the simplest.
![]()
Dim numbers As Variant numbers = Array(1,2,4,8)
If posting code please use code tags, see here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks