NotebookDelete

NotebookDelete[notebook]

deletes the current selection in the notebook corresponding to the specified notebook object.

NotebookDelete[obj]

deletes the given cell or box object.

NotebookDelete[{obj1,obj2,}]

deletes all specified objects.

NotebookDelete[]

deletes the current selection in the current evaluation notebook.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Select a cell:

Delete the current selection:

Display a button that deletes its cell:

Display a list of self-deleting buttons:

Scope  (1)

Create a notebook:

Move the selection to the first "T":

Delete the current selection:

Select multiple cells:

Delete the current selection:

Wolfram Research (1996), NotebookDelete, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookDelete.html (updated 2012).

Text

Wolfram Research (1996), NotebookDelete, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookDelete.html (updated 2012).

CMS

Wolfram Language. 1996. "NotebookDelete." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/NotebookDelete.html.

APA

Wolfram Language. (1996). NotebookDelete. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotebookDelete.html

BibTeX

@misc{reference.wolfram_2024_notebookdelete, author="Wolfram Research", title="{NotebookDelete}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/NotebookDelete.html}", note=[Accessed: 09-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_notebookdelete, organization={Wolfram Research}, title={NotebookDelete}, year={2012}, url={https://reference.wolfram.com/language/ref/NotebookDelete.html}, note=[Accessed: 09-December-2024 ]}