Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 02-06-2018, 01:01 PM
macropod's Avatar
macropod macropod is offline start a macro with command Line startup switches Windows 7 64bit start a macro with command Line startup switches 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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
load word addin on start up from location other then startup jed Word VBA 0 07-23-2015 12:30 PM
Outlook 'Start Page' Command Button Wobble Outlook 0 03-31-2015 04:49 AM
start a macro with command Line startup switches Calling a macro in powerpoint from command line SeattleITguy PowerPoint 4 11-26-2014 01:41 AM
From the command line, how do I run a Word macro? jdockstader Word 7 02-04-2013 06:09 AM
Command Line Switches Ringmaster Office 0 08-10-2010 06:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:50 PM.


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