See Also

Methods, Properties, and Events:

AppDeactivate

WindowMovedOrResized

ActiveX and VBA Developer's Guide:

"Use Events"