I have a very simple problem with Mathematica that I couldn't find an easy answer to. I have long notebook with a lot of cells and want to evaluate a specific cells inline from another cell.
So far I have been trying to put tags on the cells and then use: NotebookEvaluate[EvaluationNotebook[], EvaluationElements -> "Tags" -> {tag1, tag2,..}]
I thought that this should do it, but instead it always evaluates the whole notebook and gets stuck in a loop. Is there something slightly wrong, or a trick with the tag names? Or am I doing something conceptually wrong?
Btw it works fine if I use the option EvaluationElements-> "InitializationCell" but doesn't work properly with the "Tags" option.
Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign!
– Jan 08 '15 at 09:38EvaluationElements. If theNotebookEvaluateexpression is in the target notebook, it loops indefinitely. In V10.0.2 it works properly, even from within the same notebook. – WReach Jan 08 '15 at 15:30