closes the notebook corresponding to the specified notebook object.
closes the current evaluation notebook.
Details 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.
Examplesopen allclose all
Properties & Relations (1)
Use NotebookSave when you want to save changes before closing a notebook:
NotebookOpen opens the notebook from the file:
Wolfram Research (1996), NotebookClose, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookClose.html (updated 2012).
Wolfram Language. 1996. "NotebookClose." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/NotebookClose.html.
Wolfram Language. (1996). NotebookClose. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotebookClose.html