Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 4th, 2005, 11:02 AM
Authorized User
Join Date: Mar 2004
Location: Watford, , United Kingdom.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Word E-Mail Merge using Access Tables

This is a question about approach rather than method.

I need to develop a process to send emails to contacts whose details are stored in an Access Data Project (an MSDE database). It will need to select the contacts based on criteria in the database (eg all those Contacts in the Contacts table that are linked to a selected Interest Group in the Interest Group table).

It seems to me that, using Office Automation, I have the choice of building the solution in Access, Word or Outlook. Each of these has obvious advantages:
Access - I have more experience of programming Access; it will be easier to update Access from within Access (ie with which contacts have been sent which emails);
Word - the users are most comfortable in Word; the solution might be able to include the Mail Merge Wizard with which some of the users are already familiar;
Outlook - there may be less grief from Outlook's clumsy security mechanisms if the process is controlled by Outlook.

Does anyone have any recommendations or warnings that may prevent me choosing a path I will regret?

Can anyone recommend a book that covers controlling a Word Mail Merge with VBA?

PS The users can already meet the objective by starting a mail merge in Word, selecting the appropriate view and then using Edit recipient list to filter by the appropriate criteria. However I am told that this is "much too complicated" - my commission is to give the users a simple way to do this. I imagine a form (in Access, Word or Outlook) which offers them a selection of check boxes and drop down lists and then a process which generates a view/list of selected contacts which is passed to the Mail Merge process...

Reply With Quote
  #2 (permalink)  
Old February 5th, 2005, 08:57 PM
Friend of Wrox
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts

Hi Richard,

quote:Can anyone recommend a book that covers controlling a Word Mail Merge with VBA?
On the Mail Merge part of your question, Helen Feddema is someone who has spent a great deal of time working with just about every type of Office Automation you can think of. You might find some of her sample databases useful. She has one in particular that I've played with a bit that demonstrate four different techniques for merging to Word. Of the four, mail merge is her least preferred. Custom doc properties are preferred for creating letters, and the TypeText methos is preferred for labels and cards.

The link to "Merging to Word Four Ways" is:


Look under Acces -> Word: VBA sample #24.

Helen also has published several Access Archon articles addressing merging from Access to Word. They are at:


Look at:

#39 - Creating Word Custom Doc Properties
#44 - Merging to Word from Linked Access Tables
#65 - Working with the Word Object Model
#92 - Mail Merge Mysteries

See also has a number of articles with sample dbs for a variety of e-mail issues.

Might give you some ideas.



Reply With Quote
  #3 (permalink)  
Old February 7th, 2005, 04:48 AM
Authorized User
Join Date: Mar 2004
Location: Watford, , United Kingdom.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks Bob

Helen Feddema's site does indeed have a wealth of useful information and examples.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Pushing" from Access to Word via Mail Merge Loralee BOOK: Access 2003 VBA Programmer's Reference 2 March 8th, 2006 10:20 PM
Access launching Word for mail merge Loralee Access 8 November 14th, 2005 04:24 PM
Mail Merge with MS Word bezaman Classic ASP Basics 1 October 6th, 2005 04:13 PM
Access/Vba mail merge to word help alfonse Access VBA 0 July 28th, 2005 05:11 AM
Access to Word Mail Merge Automation kareltje Access VBA 6 June 9th, 2005 04:54 AM

All times are GMT -4. The time now is 07:53 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.