For Each - Next (Arrays)
You can iterate through the elements of an array using a For Each - Next loop
The data type of vItem must always be Variant.
When you use this type of loop all the items are Read Only.
This type of loop cannot be used to update any values in the array.
Fixed Array - Read Only
Declaring a Variant array (arValues).
Declaring a String array (asValues).
The data type of vItem must always be Variant.
Multi Dimensional Array
This declares a 2-dimensional array and iterates through the elements one dimension at a time.
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext