REDIM [Preserve] varname
Initialises and resizes a dynamic array.
|varname||The name of the array variable.|
|* Redimensions one or more dynamic array variables and reallocates their storage space.|
* This statement is used with Dynamic Arrays.
* This statement can also be used with the Preserve keyword.
* For the Microsoft documentation refer to learn.microsoft.com
Dim arValues() As String
arValues(0) = "Pizza"
arValues(1) = "Chips"
arValues(2) = "Biscuits"
arValues(3) = "Lettuce"
© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited Top