Close Method |
The Close method closes the open Worksheet object.
objMC.Close ([MCSaveOption SaveOption])
Element |
Description |
objMC |
A Mathcad worksheet object. |
Optional argument specifying how to handle unsaved worksheets. The default is McPromptToSaveChanges. |
This method returns no meaningful result.
The Close method can fail if the save failed to complete for any reason, such as insufficient disk space or canceling out of the save operation.
To close all open worksheets, use the CloseAll method of the Application object.