OnWebFileCheckOut Event
Collapse the table of content
Expand the table of content

Web.OnWebFileCheckOut Event

Occurs when a file in the current Web site is checked out.


Private Sub expression_OnWebFileCheckOut(ByVal pWeb As Web, ByVal pFile As WebFile, CheckedOut As Boolean, pCheckOutOption As CheckOutOption)

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


NameRequired/OptionalData TypeDescription
pWebRequiredWebThe Web site that contains the file.
pFileRequiredWebFileThe file being checked out.
CheckedOutRequiredBooleanIndicates the status of the file. If True, the file is checked out. If False, the file is not checked out.
pCheckOutOptionRequiredCheckOutOptionSpecifies the file checkout option.

Community Additions

© 2016 Microsoft