Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2004

Tip: Looking for answers? Try searching our database.

Are there user arguments for Word VB macros ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John D Robbie - 05 Nov 2004 17:38 GMT
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
Tony Strazzeri - 06 Nov 2004 09:01 GMT
I would probably put the arguments into an ini file and have the macro
read them from there.

Cheers.
TonyS.

> I would like to use on VB macro to retrieve data and save with a different
> file name.
[quoted text clipped - 16 lines]
> John D Robbie
> Toronto, Canada
Tony Strazzeri - 06 Nov 2004 09:14 GMT
John,

Answered in microsoft.public.word.vba.customization.

If you want to cross post put all of the newsgroups on the one post
that way all responses will be visible and avoid people wasting time
answering things that may have been already answered.

Cheers

> I would like to use on VB macro to retrieve data and save with a different
> file name.
[quoted text clipped - 16 lines]
> John D Robbie
> Toronto, Canada
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.