This code works.
Module [{x1, x2}, Module [{}, x1 = "111"; ]; Module [{}, x2 = "222"; ]; Row [{x1, "-", x2}] ]
The same code separated into three attachments does not work. What am I doing wrong? What is the solution? Thanks a lot.
Check out the "possible issues" section of the documentation for NotebookEvaluate[]. It looks like you might have to set the context.