Description
To run a macro when the Page event occurs, set the OnPage property to the name of the macro.
Remarks Since you normally use the Line, Circle, or PSet methods in the Page event procedure to create the desired graphics for the page, you typically use the Page event procedure with this event rather than the Page macro. You can't use the CancelEvent action in a Page macro.See Also Page event — event procedures.