Document.Close
Method: Close (bDiscardChanges as Boolean)
Description
To close the document call this method. If bDiscardChanges is true and the document is modified, the document will be closed but not saved.
Errors
| 1400 | The object is no longer valid. | 
| 1401 | Document needs to be saved first. |