Quit(Object, Object, Object) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Quits Microsoft Word and optionally saves or routes the open documents.
public void Quit (ref object SaveChanges, ref object OriginalFormat, ref object RouteDocument);
abstract member Quit : obj * obj * obj -> unit
Public Sub Quit (Optional ByRef SaveChanges As Object, Optional ByRef OriginalFormat As Object, Optional ByRef RouteDocument As Object)
Optional Object. Specifies whether Word saves changed documents before quitting. Can be one of the WdSaveOptions constants.
Optional Object. Specifies the way Word saves documents whose original format was not Word Document format. Can be one of the WdOriginalFormat constants.
Optional Object. True to route the document to the next recipient. If the document doesn't have a routing slip attached, this argument is ignored.