編輯

共用方式為


_Application.Quit(Object, Object, Object) Method

Definition

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)

Parameters

SaveChanges
Object

Optional Object. Specifies whether Word saves changed documents before quitting. Can be one of the WdSaveOptions constants.

OriginalFormat
Object

Optional Object. Specifies the way Word saves documents whose original format was not Word Document format. Can be one of the WdOriginalFormat constants.

RouteDocument
Object

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.

Applies to