({{, (RefLink[DefaultDuplicateCellStyle, paclet:ref/DefaultDuplicateCellStyle])
is a notebook option that specifies the default style to use for cells created by automatic duplication of other cells in the notebook. }})

OpenersNotesSection(Spacer1)Details

A typical default setting for (RefLink[DefaultDuplicateCellStyle, paclet:ref/DefaultDuplicateCellStyle]) is "Input".

(RefLink[DefaultDuplicateCellStyle, paclet:ref/DefaultDuplicateCellStyle]) determines the style for new cells created from cells with (RefLink[CellEditDuplicate, paclet:ref/CellEditDuplicate])->(RefLink[True, paclet:ref/True]) or (RefLink[CellEvaluationDuplicate, paclet:ref/CellEvaluationDuplicate])->(RefLink[True, paclet:ref/True]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Create a document in which "Output" cells are duplicated as "MyDuplicate" cells:

CreateDocument[ExpressionCell[2+a,"Output"],DefaultDuplicateCellStyle->"MyDuplicate",
StyleDefinitions->Notebook[{Cell[StyleData["Output"],CellEditDuplicate->True,CellEditDuplicateMakesCopy->True,CellMargins->{{66,10},{10,5}}],Cell[StyleData["MyDuplicate"],CellEditDuplicate->False,CellMargins->{{66,10},{10,5}},CellFrame->True]}]];

Position the insertion point at the end of an "Output" cell's contents:

When you type something in the cell, the Wolfram System makes a new copy in "MyDuplicate" style:

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[DefaultNewCellStyle, paclet:ref/DefaultNewCellStyle])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Options for Notebooks, paclet:tutorial/OptionsForNotebooks])}})}})