Skip to main content

Quit-Word

Command Description

Quit Word program

Command Prototype

Word.Quit()

Parameter Description

ParameterRequiredTypeDefaultDescription
NoneNoneNoneNoneNone
/************************************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()