I have been trying unsuccessfully to programmatically change a cell style in order to change it to a text-style cell as I just want to put some text in it that should not be evaluated:

SetOptions[NotebookSelection[nb], Evaluatable -> False]

I tried all kinds of other ideas to get this done but nothing worked.

Is there anybody that can help?

  • $\begingroup$ Linked topic answers you question. Let me know in case I missed the point. $\endgroup$
    – Kuba
    Oct 24 '18 at 13:39
  • $\begingroup$ You're right Kuba, it answers my question. Thanks! $\endgroup$
    – pkr
    Oct 26 '18 at 9:14

Browse other questions tagged or ask your own question.