The SaveAll method saves all documents in the collection. Returns a Boolean.
Syntax
object.SaveAll( Prompt )
Parameter |
Type |
Description |
Prompt |
Boolean |
optional; default=False, see remarks |
Remarks
Setting Prompt to true prompts the user to save changes and false does not prompt the user to save changes. True is returned if everything saved, false is returned if the user canceled or if a save failed.
Example
This example demonstrates how to save all open documents without prompting the user.
Docs.SaveAll(Prompt:=False)
Used by: Documents collection