Thread: [Solved] Macros for starting macroses
View Single Post
 
Old 09-16-2014, 11:42 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The only real difference between my example and yours is that I've prefixed the macro name with Call. IMHO that makes it easier to see where the code is referencing another macro.

As for starting a macro in an addin, you'd need to both reference the addin and call its macro with all of the required parameters. Note how the second called macro in the example I posted requires a text string to be included in the call.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote