VB Clear Scripting.Dictionary object

VB Clear Scripting.Dictionary object

I'm writing an Excel macro, and I'm having trouble clearing a Scripting.Dictionary object:
Dim test As Integer
test = CompListDict.Count
CompListDict.RemoveAll
Set CompListDict = Nothing
Set CompListDict = CreateObject("Scripting.Dictionary")
Dim test1 
Read more