Close
The CLOSE command closes the active document or all open documents.
CLOSEALL_WINDOWSCONFIRM_YESCONFIRM_NOAS_CONFIRM
ALL_WINDOWS
If this keyword is provided the CLOSE command closes all open documents.
CONFIRM_YES
All unsaved documents will be saved before closing. If a document was not saved before, a file-save dialog will appear asking the user for a name and path. If the user cancels this dialog the macro itself will terminate.
CONFIRM_NO
All documents will be closed whether they were saved before or not.
ASK_CONFIRM
Default if no parameter is specified.
Before closing any unsaved document the user will be asked if he would like to save that document. If the user cancels the dialog the macro itself will be terminated.
CLOSE
CLOSE ALL_WINDOWS CONFIRM_NO
CLOSE CONFIRM_YES