Application.OnWebOpen Event

SharePoint Designer Developer Reference

Occurs when a Web site is opened.

Syntax

Private Sub expression_OnWebOpen(ByVal pWeb As Web)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
pWeb Required Web The Web site being opened.

Remarks

The OnWebOpen event is associated with the Application object. When the user opens a Web site, the OnWebOpen event fires and executes the code that you specified within the event procedure.

See Also