Share via


Documents.Save Method

Saves all the documents in the Documents collection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub Save ( _
    ByRef NoPrompt As Object, _
    ByRef OriginalFormat As Object _
)
'Usage
Dim instance As Documents
Dim NoPrompt As Object
Dim OriginalFormat As Object

instance.Save(NoPrompt, OriginalFormat)
void Save(
    ref Object NoPrompt,
    ref Object OriginalFormat
)

Parameters

  • NoPrompt
    Type: System.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.

Remarks

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

See Also

Reference

Documents Interface

Documents Members

Microsoft.Office.Interop.Word Namespace