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.

DetailsDetails

New in 3
New to Mathematica? Find your learning path »
Have a question? Ask support »