PageWindow.OnBeforeSave Event
SharePoint Designer Developer Reference |
Occurs before a page in an active extended page window is saved.
Syntax
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.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
SaveAsUI | Required | Boolean | Determines whether the user interface should be displayed. If True, the Save As dialog box is displayed. |
Cancel | Required | Boolean | Determines whether the save operation should be canceled. If True, the document is saved. |
See Also