View Single Post
 
Old 03-18-2016, 03:12 PM
achuneke achuneke is offline Windows 10 Office 2013
Novice
 
Join Date: Mar 2016
Location: Midwest, USA
Posts: 2
achuneke is on a distinguished road
Default Run a macro in another doc

I have two documents open in the same instance of Word, call them DocA.docm and DocB.docm. I have assigned each a project name, call them ProjA and ProjB. I am running a macro in DocA and would like to call a macro in DocB (and pass parameters, if possible).

I've done a good bit of poking around and trial and error with Run to no avail. I have seen forum posts that implied what I want can only be done with templates in the autostart folder.

I'm hoping someone can provide me a definitive answer and the proper syntax, if it can be made to work. If I get desperate, I will resort to calling the second macro via a command line call, but this has its own set of issues.

Al
Reply With Quote