he "sheet deactivation" event is fired when Excel's focus moves away from a
worksheet. The OnSheetDeactivate provides facilities for trapping such event.
The signature() function reveals that the event handler is expected to accept
one argument.
We provide such event handler in the code below.
Consequently, changing the active sheet activates the handler's code.
|