Demonstration scr ipt that retrieves network adapter data from a computer, displays that data in a Microsoft Word document, and then saves the document as C:\scr ipts\Word\Testdoc.doc. 代码如下:Set objWord = CreateObject(“Word.Application”) objWord.Cap
Demonstration scr ipt that creates and displays a new Microsoft Word document. 代码如下:Set objWord = CreateObject(“Word.Application”) objWord.Visible = True Set objDoc = objWord.Documents.Add()