CellID
✖
CellID
Details

- Typically, a CellID will be created automatically by the system for each new cell inserted in a notebook that has the setting CreateCellID->True.
- When CellID is managed by the Wolfram System, its value is guaranteed to be unique in a given notebook. It is possible for a CellID to be set by hand, but its uniqueness will no longer be guaranteed.
Examples
Basic Examples (1)Summary of the most common use cases
Set the default options for the notebook to create cell IDs for new cells, then write a cell:
In[1]:=1

✖
https://wolfram.com/xid/0cqyslvo-bs10q5
Out[1]=1

Reading the cell shows a CellID option has been added by the front end:
In[2]:=2

✖
https://wolfram.com/xid/0cqyslvo-efid9
Out[2]=2

Wolfram Research (2007), CellID, Wolfram Language function, https://reference.wolfram.com/language/ref/CellID.html.
✖
Wolfram Research (2007), CellID, Wolfram Language function, https://reference.wolfram.com/language/ref/CellID.html.
Text
Wolfram Research (2007), CellID, Wolfram Language function, https://reference.wolfram.com/language/ref/CellID.html.
✖
Wolfram Research (2007), CellID, Wolfram Language function, https://reference.wolfram.com/language/ref/CellID.html.
CMS
Wolfram Language. 2007. "CellID." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellID.html.
✖
Wolfram Language. 2007. "CellID." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellID.html.
APA
Wolfram Language. (2007). CellID. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellID.html
✖
Wolfram Language. (2007). CellID. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellID.html
BibTeX
✖
@misc{reference.wolfram_2025_cellid, author="Wolfram Research", title="{CellID}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/CellID.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_cellid, organization={Wolfram Research}, title={CellID}, year={2007}, url={https://reference.wolfram.com/language/ref/CellID.html}, note=[Accessed: 29-March-2025
]}