Quote:
> Im not sure if this is the right forum, but here goes
> anyway.
> I have created a macro in Access which creates a mail
> merge text from a query, and then opens Word.
> I have then created a seperate macro in Word, which does
> all the mail merge to a template, and displays the merged
> document.
> My question is: what is the easiest way for me to run the
> macro? Is there a way to run a macro opon opening a
> specific document? If not, would it be ok to just have a
> couple of buttons (on the Word document that Access opens
> from its Macro) to run the Word Macro?
> Any assistance would be appreciated.
> Jamie
Hi
something like:
Shell "winword mydoc.doc /mThisMacro"
/mmacroname
Starts Word and then runs a specific macro. The /m switch also prevents
Word from running any AutoExec macros.
see: http://www.*-*-*.com/