Bewerken

Delen via


Documents.Save(Object, Object) Method

Definition

Saves all the documents in the Documents collection.

public void Save (ref object NoPrompt, ref object OriginalFormat);
abstract member Save : obj * obj -> unit
Public Sub Save (Optional ByRef NoPrompt As Object, Optional ByRef OriginalFormat As Object)

Parameters

NoPrompt
Object

Optional Object. True to have Microsoft Word automatically save all documents; False to have Word prompt the user to save each document that has changed since it was last saved.

OriginalFormat
Object

Optional Object. Specifies the way the documents are saved. Can be one of the WdOriginalFormatconstants.

Remarks

If a document hasn't been saved before, the Save As dialog box prompts the user for a file name.

Applies to