Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select Word Document to Mailmerge 1

Status
Not open for further replies.

MyDugs

Technical User
Oct 2, 2001
10
GB
I have a routine set up to mailmerge a recordsetfrom Access 97 to Word 97 and works ok. What I want to do is choose one from a selection of word documents to merge with. I have the word documents set in a seperate directory.
Any pointers would be greatly appreciated.
 
dear dliddell,

you can use the dir vb-function to scan the directory.

and then use the word.application.documents.open method.

hope that helps

regards astrid
 
Many thanks Astrid, much appreciated.

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top