SelectionEvaluateCreateCell

SelectionEvaluateCreateCell[notebook]

takes the current selection in a notebook and creates a new cell containing the result obtained by evaluating the contents of the selection using the kernel.

SelectionEvaluateCreateCell[notebook,sel]

sets the current selection after the evaluation to be as specified by sel.

Details

Examples

open allclose all

Basic Examples  (1)

Evaluate an input cell and produce output beneath it:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input

Scope  (2)

Properties & Relations  (1)

See Also

SelectionEvaluate  SelectionCreateCell  NotebookEvaluate  NotebookRead  NotebookWrite

Tutorials

Introduced in 1996
(3.0)