is an option for notebooks that specifies whether a warning should be given when a notebook containing initialization cells is opened.


InitializationCellWarning
is an option for notebooks that specifies whether a warning should be given when a notebook containing initialization cells is opened.
Details

- With the default setting InitializationCellWarning->True, a warning in the form of a dialog box is given, asking the user to choose whether the initialization cells should be automatically evaluated.
- In order for the warning not to occur, this option must be set to False both in the notebook being opened and at the global level. This is a security feature to prevent a notebook from silently evaluating cells without the user’s knowledge, unless the user has specifically enabled this by setting the option to False at the global level.
See Also
InitializationCell InitializationCellEvaluation InitializationGroup
Menu Items: Evaluate Initialization Cells
Tech Notes
History
Introduced in 1999 (4.0)
Text
Wolfram Research (1999), InitializationCellWarning, Wolfram Language function, https://reference.wolfram.com/language/ref/InitializationCellWarning.html.
CMS
Wolfram Language. 1999. "InitializationCellWarning." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InitializationCellWarning.html.
APA
Wolfram Language. (1999). InitializationCellWarning. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InitializationCellWarning.html
BibTeX
@misc{reference.wolfram_2025_initializationcellwarning, author="Wolfram Research", title="{InitializationCellWarning}", year="1999", howpublished="\url{https://reference.wolfram.com/language/ref/InitializationCellWarning.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_initializationcellwarning, organization={Wolfram Research}, title={InitializationCellWarning}, year={1999}, url={https://reference.wolfram.com/language/ref/InitializationCellWarning.html}, note=[Accessed: 08-August-2025]}