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.


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)
Create an output cell that will automatically be copied when you edit it:
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:
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:
See Also
Tech Notes
Related Guides
History
Introduced in 1996 (3.0)
Text
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.
APA
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: 08-August-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: 08-August-2025]}