The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Occurs when a new document based on the template is created.
Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
WithEvents documentEvents2_Event1 As DocumentEvents2_Event
Function documentEvents2_Event1_New() As Void
event DocumentEvents2_NewEventHandler New;
void add_New(DocumentEvents2_NewEventHandler handler);
void remove_New(DocumentEvents2_NewEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.
A procedure for the New event will run only if it is stored in a template.
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000