FileCloseAll

Syntax

FileCloseAll [Save]

Remarks

Closes all open document windows.

Argument

Explanation

Save

Determines whether or not Word saves each document before closing it if it is "dirty" — that is, if changes have been made since the last time the file was saved:

0 (zero) or omitted Prompts the user to save each changed document.

1 Saves each changed document before closing it.

2 Closes all documents without saving changed documents.

The Save argument also controls whether a prompt appears if a document has a routing slip. A prompt appears if Save is 0 (zero) or omitted; otherwise, the document is closed without being routed.


See Also

DocClose, FileClose, FileExit, FileQuit