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]=
Introduced in 2012
(9.0)