Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 02-24-2013, 12:06 AM
macropod's Avatar
macropod macropod is offline Pre-formatted label printer Windows 7 64bit Pre-formatted label printer 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

Quote:
Originally Posted by jdorin View Post
can a switch specifying the name of the macro it is to execute be appended to the end of the command line in a Desktop shortcut that invokes Word? Will Word open and then run the specified macro?
Yes. See discussion of the /m switch at: http://support.microsoft.com/kb/210565

However, you might do better just to add a Document_Open macro containing the required code to the document's 'ThisDocument' module. That way, only the particular document is affected, rather than the whole Word session.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
label, shortcut, template



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pre-formatted label printer AutoCorrect with Formatted Text pmokover Word 16 10-30-2024 02:50 AM
Reversing Formatted Fractions? Rusty123 Word 1 03-05-2012 05:44 PM
MS Word 2003, printer queue in 'printer properties' shows 1 job; no job in printer benhuxham Word 0 07-25-2011 06:58 PM
Import formatted text from Word into PowerPoint parboy PowerPoint 0 07-06-2011 08:52 AM
Odd behaviour in formatted cells furface00 Excel 3 03-11-2011 08:02 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:34 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