Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to terminate an object that's in a collection
"Coll" is a standard VBA Collection object.
The first item in it is a MyClass object. How do I delete this object? (and free the memory used) This does not work: Coll.remove 1 'The memory of item 1 is still allocated This crashes: Set Coll.item(1) = nothing '<Crash occurs here (Err 438) Coll.remove 1 Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Adding Name object to a collection does not add an object | Excel Programming | |||
Need Help with Set Object = Collection(index) | Excel Programming | |||
Problems returning Collection object | Excel Programming | |||
Collection Object Keys | Excel Programming | |||
CombBox - Object of What Collection? | Excel Programming |