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
 

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