This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

CellLabel

CellLabel
is an option for Cell which gives the label to use for a particular cell.
  • CellLabel specifies that no label should be used for a cell.
  • Cell labels are typically generated automatically when cells appear as input or output to the Mathematica kernel.
Select the cell being evaluated and get its CellLabel setting:
Attach a label to a text cell:
Select the cell being evaluated and get its CellLabel setting:
In[1]:=
Click for copyable input
Out[1]=
 
Attach a label to a text cell:
In[1]:=
Click for copyable input
New in 3