This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

NotebookClose

Updated In 6 Graphic
NotebookClose[notebook]
closes the notebook corresponding to the specified notebook object.
NotebookClose[]
closes the current evaluation notebook.
  • NotebookClose will make a notebook disappear from your screen, and will invalidate all notebook objects which refer to that notebook.
Create a notebook window:
In[1]:=
Click for copyable input
Close the notebook without saving:
In[2]:=
Click for copyable input
New in 3 | Last modified in 6