Export (0) Print
Expand All

PageWindow.OnBeforeSave Event

Occurs before a page in an active extended page window is saved.


Private Sub expression_OnBeforeSave(SaveAsUI As Boolean, Cancel As Boolean)

expression   A variable that represents a PageWindow object that has been declared by using the WithEvents option in a class module.


NameRequired/OptionalData TypeDescription
SaveAsUIRequiredBooleanDetermines whether the user interface should be displayed. If True, the Save As dialog box is displayed.
CancelRequiredBooleanDetermines whether the save operation should be canceled. If True, the document is saved.

Community Additions

© 2014 Microsoft