Sharing Events


Several Controls One Event

This is a simple example that illustrates how you can use a class module to use the same event to response to several events.
This class module contains an event that clears a textbox when it is double clicked.
Not all userform control events are available from inside a class module.


UserForm Class Module


CControlEvents Class


© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrev