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

SelectionEvaluateSelectionEvaluateCreateCell

SelectionCreateCell

FilledSmallSquareSelectionCreateCell[notebook] copies the contents of the current selection in a notebook into a new cell.

FilledSmallSquareSelectionCreateCell[notebook, sel] sets the current selection after the copy to be as specified by sel.

FilledSmallSquare The first argument of SelectionCreateCell is a NotebookObject.

FilledSmallSquare If the current selection is a cell group, then SelectionCreateCell will create a new cell group.

FilledSmallSquare Possible settings for sel are as in NotebookWrite.

FilledSmallSquare The default for sel is After.

FilledSmallSquareSelectionCreateCell[notebook, All] sets the current selection to be the whole of the newly created cell.

FilledSmallSquare See The Mathematica Book: Section 2.10.3.

FilledSmallSquare See also: SelectionEvaluateCreateCell, NotebookRead, NotebookWrite.

SelectionEvaluateSelectionEvaluateCreateCell