DocumentEvents2_Event.Open DocumentEvents2_Event.Open DocumentEvents2_Event.Open Event

Definition

Occurs when a document is opened.

public:
 event Microsoft::Office::Interop::Word::DocumentEvents2_OpenEventHandler ^ Open;
event Microsoft.Office.Interop.Word.DocumentEvents2_OpenEventHandler Open;
Event Open As DocumentEvents2_OpenEventHandler 

Remarks

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

Applies to