Application.OnAfterPageSave Event

SharePoint Designer Developer Reference

Occurs after a page is saved.

Syntax

Private Sub expression_OnAfterPageSave(ByVal pPage As PageWindow, Success As Boolean)

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

Parameters

Name Required/Optional Data Type Description
pPage Required PageWindow The window that contains the page being saved.
Success Required Boolean True if the page was successfully saved.

Remarks

The OnAfterPageSave event is associated with the Application object. After the user saves a page or closes the application, the OnAfterPageSave event fires and executes the code that you specified within the event procedure.

See Also