Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2016, 03:12 PM
achuneke achuneke is offline Run a macro in another doc Windows 10 Run a macro in another doc Office 2013
Novice
Run a macro in another doc
 
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
Reply



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
Run a macro in another doc 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

Other Forums: Access Forums

All times are GMT -7. The time now is 07:04 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft