ParentCell

ParentCell[obj]
returns the CellObject that contains obj.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Create an inline cell with a variable set to the CellObject:

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

Return the CellObject for the parent cell:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2014
(10.0)