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:

Scope  (2)

Make the selection be a point within an input cell:

SelectionEvaluateCreateCell takes the whole cell as input:

Select multiple cells:

Evaluate all the evaluatable cells in the selection:

Properties & Relations  (1)

SelectionEvaluate evaluates the selected expression in place:

Wolfram Research (1996), SelectionEvaluateCreateCell, Wolfram Language function, https://reference.wolfram.com/language/ref/SelectionEvaluateCreateCell.html.

Text

Wolfram Research (1996), SelectionEvaluateCreateCell, Wolfram Language function, https://reference.wolfram.com/language/ref/SelectionEvaluateCreateCell.html.

BibTeX

@misc{reference.wolfram_2020_selectionevaluatecreatecell, author="Wolfram Research", title="{SelectionEvaluateCreateCell}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/SelectionEvaluateCreateCell.html}", note=[Accessed: 03-December-2020 ]}

BibLaTeX

@online{reference.wolfram_2020_selectionevaluatecreatecell, organization={Wolfram Research}, title={SelectionEvaluateCreateCell}, year={1996}, url={https://reference.wolfram.com/language/ref/SelectionEvaluateCreateCell.html}, note=[Accessed: 03-December-2020 ]}

CMS

Wolfram Language. 1996. "SelectionEvaluateCreateCell." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SelectionEvaluateCreateCell.html.

APA

Wolfram Language. (1996). SelectionEvaluateCreateCell. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SelectionEvaluateCreateCell.html