#1
|
|||
|
|||
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 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro to add title in header is missing text once macro is run | shawnee24 | Word VBA | 3 | 05-27-2015 12:35 PM |
Macro Question: Need help making a macro to highlight the first word in every sentence | LadyAna | Word | 1 | 12-06-2014 10:39 PM |
Macro Needed to bold specific lines and Macro to turn into CSV | anewteacher | Word VBA | 1 | 05-28-2014 03:59 PM |
custom icon, undo/redo for macro, permanent macro | Rapier | Excel | 0 | 08-05-2013 06:30 AM |
How do I assign a macro to a button when the macro is in my personal workbook? | foolios | Excel Programming | 2 | 07-27-2011 02:41 PM |