So, I propose to add 'mCount = 0' to:
So, both Keys() and Items() functions will return empty array:Code:Private Sub Class_Terminate() Erase List() mCount = 0 End Sub
Code:Public Function Items() As Variant '... If mCount = 0 Then Items = Array(): Exit FunctionCode:Public Function Keys() As Variant '... If mCount = 0 Then Keys = Array(): Exit Function




Reply With Quote
