EvaluationCell

EvaluationCell[]
returns a CellObject corresponding to the cell in which this function is being evaluated.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Return the cell being evaluated:

In[1]:=
Click for copyable input
Out[1]=

Return the cell containing a control that issues evaluation:

In[1]:=
Click for copyable input
Out[1]=
New in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »