I am fairly new to VBA, so this may be a simple question but here goes.
I would like to initialize an entire array myArray, say of integers, in VBA. I k
myArray
For VBA you need to initialise in two lines.
Sub TestArray() Dim myArray myArray = Array(1, 2, 4, 8) End Sub