CellEditDuplicate
✖
CellEditDuplicate
is an option for Cell which specifies whether the front end should make a copy of the cell before actually applying any changes in its contents that you request.
Details

- CellEditDuplicate is by default set to False for cells that are generated as Wolfram System output.
- New cells generated when CellEditDuplicate->True have styles specified by the setting for DefaultDuplicateCellStyle for the notebook.
- CellEditDuplicate is typically set for styles of cells rather than for individual cells.
Examples
Basic Examples (2)Summary of the most common use cases
Create an output cell that will automatically be copied when you edit it:

https://wolfram.com/xid/0bnhwf5gxf6tw-nqj6xb
Position the insertion point at the end of the cell's contents:
When you type something in the cell, the Wolfram System makes a new copy:
Create an output cell that will automatically be restyled as input when you edit it:

https://wolfram.com/xid/0bnhwf5gxf6tw-iqkoa
Position the insertion point at the end of the cell's contents:
When you type, the Wolfram System converts the cell to an input cell:
Wolfram Research (1996), CellEditDuplicate, Wolfram Language function, https://reference.wolfram.com/language/ref/CellEditDuplicate.html.
Text
Wolfram Research (1996), CellEditDuplicate, Wolfram Language function, https://reference.wolfram.com/language/ref/CellEditDuplicate.html.
Wolfram Research (1996), CellEditDuplicate, Wolfram Language function, https://reference.wolfram.com/language/ref/CellEditDuplicate.html.
CMS
Wolfram Language. 1996. "CellEditDuplicate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellEditDuplicate.html.
Wolfram Language. 1996. "CellEditDuplicate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellEditDuplicate.html.
APA
Wolfram Language. (1996). CellEditDuplicate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellEditDuplicate.html
Wolfram Language. (1996). CellEditDuplicate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellEditDuplicate.html
BibTeX
@misc{reference.wolfram_2025_celleditduplicate, author="Wolfram Research", title="{CellEditDuplicate}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/CellEditDuplicate.html}", note=[Accessed: 19-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_celleditduplicate, organization={Wolfram Research}, title={CellEditDuplicate}, year={1996}, url={https://reference.wolfram.com/language/ref/CellEditDuplicate.html}, note=[Accessed: 19-June-2025
]}