DocumentEvents2_Event.Close Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).