Object.Close (
[saveChanged As Boolean], '
[fileName As String] ) '
Documents.Close
Parameters
saveChanged
[in] Boolean
fileName
[in] String
Remarks
When the Close method applied to the Window object (or it derivatives) and there is another
window(s) displaying the same document, all input parameters will be ignored.
Otherwise, if the saveChanged parameter is TRUE, the corresponding document will
be saved. If omitted, the saveChanged parameter assumed to be FALSE.
You can provide the file name for saving document as a fileName parameter. If the fileName
is omitted, the document will be saved under its current name. If the last is still not specified,
QuickField provides a dialog box asking the name and location of the file.