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:

Introduced in 1996
 (3.0)
 |
Updated in 2012
 (9.0)