Batch file to run a macro in a word template

B

billiejoefanclub

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
 
D

Doug Robbins - Word MVP

You need an autoexec macro if you want it to run automatically.

--
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top