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 / Mailmerge and Fax / February 2007

Tip: Looking for answers? Try searching our database.

Browse for data source

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robo - 25 Feb 2007 06:31 GMT
In Word 2000 I have a simple macro to do a mailmerge,  however the header and
data source will be in differenct locations for different users.  Is there a
way to include the browse function in a macro?
Signature

Robo

Peter Jamieson - 26 Feb 2007 17:25 GMT
I think you would have to use the approach described at

http://word.mvps.org/FAQs/MacrosVBA/WordDlgHelp.htm

with the dialog boxes named

wdDialogMailMergeOpenHeaderSource

and

wdDialogMailMergeOpenDataSource

However, if you want to extract the name that the user selected in the
dialog, rather than simply executing the dialog, be careful because the name
returned my just contain the file name and not the full pathname of the
file.

Peter Jamieson

> In Word 2000 I have a simple macro to do a mailmerge,  however the header
> and
> data source will be in differenct locations for different users.  Is there
> a
> way to include the browse function in a macro?
Robo - 26 Feb 2007 23:33 GMT
Thanks Peter, that's exactly what I needed.
Signature

Robo

> I think you would have to use the approach described at
>
[quoted text clipped - 20 lines]
> > a
> > way to include the browse function in a macro?
 
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.