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.