DocumentEvents2_Event.Close Event

Definition

Occurs when a document is closed.

public:
 event Microsoft::Office::Interop::Word::DocumentEvents2_CloseEventHandler ^ Close;
event Microsoft.Office.Interop.Word.DocumentEvents2_CloseEventHandler Close;
member this.Close : Microsoft.Office.Interop.Word.DocumentEvents2_CloseEventHandler 
Event Close As DocumentEvents2_CloseEventHandler 

Event Type

Remarks

If the event procedure is stored in a template, the procedure will run when a new document based on that template is closed and when the template itself is closed (after being opened as a document).

Applies to