Close

Syntax

Document.Close

Parameters

None

Returns

Boolean - True if the document was successfully closed, False otherwise

Remarks

Closes all views of the designated document.  The COM client must not use this Document again, it is advisable to set the variable referencing it to Nothing. Close returns False if an interactive command is in progress on any document.

This method is equivalent to the Close command.