Close the Current Document command
Use the Close command to close the currently active file or to close all open files.
- Ribbon tabs
- Task panes
When the Close command is selected from the Command Library as the shortcut target, it displays as command://Close or command://CloseCommandAdapter (legacy syntax).
This command uses a single shortcut parameter to specify the behavior:
Item | Description |
---|---|
Close Mode |
Select one of the following:
|
Items using this command are always visible unless there are no open documents to be closed. You can use the Show restricted items option in the task pane or the ribbon tab to force items that use this command to be visible at all times (but grayed out if unavailable).