Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Monika Krug
 
Posts: n/a
Default Command line parameter

Hello,

I am looking for a command line parameter to specify the
data source for a mail merge document.

I start Word like this:
"C:\Program Files\Microsoft Office\Office11
\Winword.exe" "C:\My Documents\MailMergeMainDocument.doc"
Is there a switch that would tell Word which data source
to connect to?

Or if there is not, maybe it works with a macro?
"C:\Program Files\Microsoft Office\Office11
\Winword.exe" "C:\My
Documents\MailMergeMainDocument.doc" /mMacroThatConnectsDoc
umentToDataSource
Is there a way to specify parameters for a macro on the
command line?
.... /mMacroName(param1, param2) or ... /mMacroName -
param1 -param2 maybe?
If this works, how can one get/use these parameters in the
macro?

Any help would be greatly appreciated,
Monika.
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:00 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"