Create a New Word Document

Demonstration script that creates and displays a new Microsoft Word document.

VBScript Code


Set objWord = CreateObject("Word.Application")
objWord.Visible = True
Set objDoc = objWord.Documents.Add()