Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / August 2007

Tip: Looking for answers? Try searching our database.

Batch file to run a macro in a word template

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
billiejoefanclub@hotmail.com - 28 Aug 2007 01:13 GMT
Hiya, I have a template sitting in my startup folder for microsoft
word. I want to create a batch file that opens up word and runs a
macro sitting in the template BUT without opening the template (ie.
equivalent of opening word and clicking on a template button that runs
a template macro).

this is what I have

   @Echo off
   start winword.exe /mEditBusinessPlanDocuments

but it just opens word and thats it..... is this even possible?

thank you in advance
billiejoefanclub@hotmail.com - 28 Aug 2007 01:14 GMT
greatly sorry if i put this in the wrong group.
Doug Robbins - Word MVP - 28 Aug 2007 04:25 GMT
You need an autoexec macro if you want it to run automatically.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hiya, I have a template sitting in my startup folder for microsoft
> word. I want to create a batch file that opens up word and runs a
[quoted text clipped - 10 lines]
>
> thank you in advance
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.