ParentCell

ParentCell[obj]

returns the CellObject that contains obj.

Details

Examples

open allclose all

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]=

Properties & Relations  (1)

See Also

EvaluationCell  Cells  NextCell  PreviousCell  ParentNotebook  ParentBox

Introduced in 2014
(10.0)