({{, Initialization Cell
makes a cell auto-evaluate whenever the notebook is opened and the kernel is launched.}})

OpenersNotesSection(Spacer1)Details

When a cell is an initialization cell, a vertical tick mark (|) appears in the cell bracket.

Initialization Cell toggles the option (RefLink[InitializationCell, paclet:ref/InitializationCell]) between (RefLink[True, paclet:ref/True]) and (RefLink[False, paclet:ref/False]) on the selected cell objects.

The option (RefLink[InitializationCellEvaluation, paclet:ref/InitializationCellEvaluation]), set at the notebook level, determines when the initialization cells in a notebook are evaluated.

The option (RefLink[InitializationCellWarning, paclet:ref/InitializationCellWarning]) determines whether you get a dialog box confirming that you want to evaluate the initialization cells, at the time determined by (RefLink[InitializationCellEvaluation, paclet:ref/InitializationCellEvaluation]).

You can evaluate the initialization cells manually at any time by choosing (MenuGrayLink[Evaluation, paclet:guide/EvaluationMenu]) ▶ (MenuGrayLink[Evaluate Initialization Cells, paclet:ref/menuitem/EvaluateInitializationCells]).

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(MenuGrayLink[Editable, paclet:ref/menuitem/Editable])  ▪  (MenuGrayLink[Evaluatable , paclet:ref/menuitem/Evaluatable])  ▪  (MenuGrayLink[Initialization Group, paclet:ref/menuitem/InitializationGroup])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Managing Computations in Notebooks, paclet:guide/ManagingComputationsInNotebooks])}, {▪(RefLinkPlain[Package Development, paclet:guide/PackageDevelopment])}})}})