To create an event procedure that is executed when the Retreat event occurs, set the OnRetreat property to [Event Procedure], and click the Build button.
Private Sub sectionname_Retreat( )
The Retreat event procedure uses the following argument.
Argument |
Description |
sectionname |
A string that is the name of the section affected by the Retreat event procedure. |
You can’t cancel the Retreat event.
Retreat Event — Macros.