See Also Event Procedures Applies To
The Terminate event for a class module occurs when all references to an instance of that class are removed from memory.
Note To run code when the Terminate event occurs, you must place that code within the Terminate event procedure in a class module.
Remarks
This event occurs only when you remove a reference to an instance of a class from memory.