How can I run a sub in another module using VBA with Word?
Using MS Word and working with VBA, I have a Sub, call it Sub1, in the my Normal template. I also have a document loaded that contains a module, MontInit, which contains another Sub, call it Sub2.
I want to have Sub1 in the Normal template run Sub2 in the loaded document.
Neither the command “Sub2” nor “Call Sub2” works.
MontInit.Sub2 and Call MontInit.Sub2 also fail.
I tried using ActiveDocument.Name to get the name of the document with the “Sub2” code in the hopes I could somehow let Sub1 know where to look, but that did not work either.
Many thanks for any help that works.