Window.Close (Word)
Closes the specified window.
Close (SaveChanges, RouteDocument)
ActiveDocument.ActiveWindow.Close SaveChanges:=wdSaveChanges
Arguments
Optional arguments
The following arguments are optional
SaveChanges (WdSaveOptions) - Specifies the save action for the document. Can be one of the following WdSaveOptions constants: wdDoNotSaveChanges, wdPromptToSaveChanges, or wdSaveChanges.
Possible return values are wdDoNotSaveChanges - Do not save pending changes, wdPromptToSaveChanges - Prompt the user to save pending changes, wdSaveChanges - Save pending changes automatically without prompting the user.
RouteDocument (Boolean) - True to route the document to the next recipient. If the document doesn't have a routing slip attached, this argument is ignored.