OnClose Event

Web.OnClose Event

Occurs when a user closes the active Web site window. .

Syntax

Private Sub expression_OnClose(pCancel As Boolean)

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

Parameters

NameRequired/OptionalData TypeDescription
CancelRequiredBooleanDetermines whether the operation should be cancelled. True cancels closure of the active Web site.



Community Additions

ADD
Show:
© 2016 Microsoft