chuckjitsu
New Member
- Joined
- Apr 24, 2015
- Messages
- 48
- Office Version
- 365
- 2016
Let's say you see code like this:
I'm assuming this means that by declaring the array as the byte data type, all the data elements in the array are of the declared variety (0 to 255)? Is that correct?
Now, let's say you had another array you were using to store myArray- an array of arrays if you will. We'll call this the second array myArray2. Can myArray2 be declared as something other than the Variant type? What are the declaration rules for an array that stores other arrays?
Thanks!
VBA Code:
Dim myArray (1 to 5) as Byte
I'm assuming this means that by declaring the array as the byte data type, all the data elements in the array are of the declared variety (0 to 255)? Is that correct?
Now, let's say you had another array you were using to store myArray- an array of arrays if you will. We'll call this the second array myArray2. Can myArray2 be declared as something other than the Variant type? What are the declaration rules for an array that stores other arrays?
Thanks!