Open and Print a Word Document_javascript技巧
程序员文章站
2022-05-13 19:01:31
...
Demonstration script that opens and prints and existing Microsoft Word document.
Set objWord = CreateObject("Word.Application")
Set objDoc = objWord.Documents.Open("c:\scripts\inventory.doc")
objDoc.PrintOut()
objWord.Quit
复制代码 代码如下:
Set objWord = CreateObject("Word.Application")
Set objDoc = objWord.Documents.Open("c:\scripts\inventory.doc")
objDoc.PrintOut()
objWord.Quit
上一篇: PHP define 常量
推荐阅读
-
Add a Picture to a Microsoft Word Document_javascript技巧
-
Add a Picture to a Microsoft Word Document_javascript技巧
-
Add a Table to a Word Document_javascript技巧
-
Open and Print a Word Document_javascript技巧
-
Open and Print a Word Document_javascript技巧
-
Add Formatted Text to a Word Document_javascript技巧
-
Add a Table to a Word Document_javascript技巧
-
Add a Formatted Table to a Word Document_javascript技巧
-
Add Formatted Text to a Word Document_javascript技巧
-
Add a Formatted Table to a Word Document_javascript技巧