Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Notebooks / Notebook Manipulation /

SelectionCreateCell

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

FilledSmallSquare SelectionCreateCell[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.

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

FilledSmallSquare See Section 2.11.3.

FilledSmallSquare See also: SelectionEvaluateCreateCell, NotebookRead, NotebookWrite.

FilledSmallSquare New in Version 3.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.