ApplicationEvents4_Event.DocumentBeforeClose Event

Occurs immediately before any open document closes.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Event DocumentBeforeClose As ApplicationEvents4_DocumentBeforeCloseEventHandler
'Usage
Dim instance As ApplicationEvents4_Event
Dim handler As ApplicationEvents4_DocumentBeforeCloseEventHandler

AddHandler instance.DocumentBeforeClose, handler
event ApplicationEvents4_DocumentBeforeCloseEventHandler DocumentBeforeClose

See Also

Reference

ApplicationEvents4_Event Interface

ApplicationEvents4_Event Members

Microsoft.Office.Interop.Word Namespace