Quit-Word
Command Description
Quit Word program
Command Prototype
Word.Quit()
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
None | None | None | None | None |
/************************************Exit Word************** ************************
Input parameters:
objWord--Word document object
bQuit--whether to close the Word process
*********************************************************************************/
Dim objWord
objWord = Word.Open('''C:\Users\Administrator\Desktop\Standardization Implementation Notes.docx''',"xw4131221","",true)
Word.Quit()