Description
To create an event procedure that runs when the Retreat event occurs, set the OnRetreat property to [Event Procedure], and click the Build button.
Syntax
Private Sub sectionname – Retreat( )
The Retreat event procedure has the following argument.
Argument
Description
sectionname
The name of the report section whose Retreat event procedure you want to run.
Remarks
You can't cancel the Retreat event.
See Also
Retreat event — macros.