Erase Statement |
Erase arraylist
A list of array variables to clear
Releases an array object. This is equivalent to setting the array variable to Nothing .
Specify more than one array to be erased by using commas to delimit arraylist .
The Erase statement causes all memory allocated to arrays to be released.
Once you use Erase to clear an array, it must be redimensioned with ReDim before being used again. This is because Erase releases the memory storage used by the array.
Dim Statement, ReDim Statement