Hi all,
Very inexperienced with VBA, I'm afraid!
I have a code to generate several thousand files which I need to re-run. The last time I ran the code, I noticed that it would be interrupted if I switched to do some work in a separate session of Excel. (It also seemed as if moving to e.g. Word would result in an interruption as well, though I might be imagining this.)
The code makes various references to ActiveWorkbook, so I presume that moving to a different session of Excel whilst the code is running is causing an issue here.
I would like to be able to continue to do some other work in a second session of Excel - is there something I can add to my code so that this is possible and will not interrupt the macro?
Thanks in advance.
XOR
Bookmarks