Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. SaveChanges:=wdSaveChanges, OriginalFormat:=wdWordDocument If intResponse = vbYes Then Application.Quit _ MsgBox("Do you want to save all documents?", vbYesNo) If the user clicks Yes, all documents are saved in the Word format before Word closes. This example prompts the user to save all documents. Application.Quit SaveChanges:=wdPromptToSaveChanges This example closes Word and prompts the user to save each document that has changed since it was last saved. If the document does not have a routing slip attached, this argument is ignored. True to route the document to the next recipient. Can be one of the WdOriginalFormat constants. Specifies the way Word saves documents whose original format was not Word Document format. Can be one of the WdSaveOptions constants. Specifies whether Word saves changed documents before closing. Go to the Library > Application Support > Microsoft > move document named com. A variable that represents an Application object. 3rd way for Solve Microsoft Office quit unexpectedly on Mac. Quit ( SaveChanges, OriginalFormat, RouteDocument)Įxpression Required. Quits Microsoft Word and optionally saves or routes the open documents.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |