View Single Post
 
Old 02-06-2018, 01:01 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Your shortcut isn't a valid Word command line - for starters, it's missing the Word.exe reference. If anything, it would have to look like:
word.exe /tU:\test\test.docm /mmacroname
or:
word.exe /fU:\test\test.docm /mmacroname

If that doesn't work, consider callong your macro from a Document_Open macro or an AutoOpen macro, or changing your macro's name to one of those (as appropriate).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote