M
Monika Krug
Hello,
I am going to start a macro from the command line like
this:
"C:\Program Files\Microsoft Office\Office11
\Winword.exe" "C:\My Documents\MyDocument.doc" /mMacroName
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?
(The macro shall connect the document, which is a mail
merge main document, to the specified data source, e.g. an
Excel file, in case this is important.)
Any help would be greatly appreciated,
Monika.
I am going to start a macro from the command line like
this:
"C:\Program Files\Microsoft Office\Office11
\Winword.exe" "C:\My Documents\MyDocument.doc" /mMacroName
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?
(The macro shall connect the document, which is a mail
merge main document, to the specified data source, e.g. an
Excel file, in case this is important.)
Any help would be greatly appreciated,
Monika.