NotebookClose

NotebookClose[notebook]
closes the notebook corresponding to the specified notebook object.

NotebookClose[]
closes the current evaluation notebook.

Details and OptionsDetails and Options

  • NotebookClose will make a notebook disappear from your screen, and will invalidate all notebook objects that refer to that notebook.
  • If the option setting Interactive->True is given, the front end will prompt the user to decide whether to close the notebook without saving if it would have normally done so in response to a user action to close the notebook.
New in 3 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »