How to clear the entire array ?
By using the Erase or ReDim method to clear the array:
Dim threeDimArray(9, 9, 9), twoDimArray(9, 9) As Integer Erase threeDimArray, twoDimArray ReDim threeDimArray(4, 4, 9)
Refresh, to remove a group, by using the remove method :
For i = 1 to MyCollection.Count MyCollection.Remove 1 ' Remove first item Next i