Arguments in Word VB macro - Is this possible ?

J

John D Robbie

I would like to use on VB macro to retrieve data and save with a different
file name.

current syntax (DOS)
"C:\Program Files\Microsoft Office\OFFICE11\winword.exe" /w
/mCreateRegularCatalogue

But let's say, I want an argument to select only certain product groups like
christmas, could I add an argument and recognize it in VB, and perform all my
options with ONLY ONE MACRO

Possible syntax
"C:\Program Files\Microsoft Office\OFFICE11\winword.exe" /w
/mCreateRegularCatalogue /"xmas"


Any thoughts, suggestions or ideas would be appreciated


Thanks,
John D Robbie
Toronto, Canada
 
Top