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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail merge by email hyperlink

Status
Not open for further replies.

Mary10k

IS-IT--Management
Nov 8, 2001
103
US
Is there a way to do a mass mail merge via hyperlinks in a table? I have hundreds of accounts with an email address and I would like to send out mailings via email.
Thank you
 
You can use the Word mail merge feature - there is an option to 'merge to email' in the mail merge dialog. You can send as text or as an attachment.

I only know how to do it manually, but give me a shout if you need more help.
Robbo ;-)
 
You could also use the sendobject method. instead of hard-coding the "To" parameter, you can refer to a variable.

Let's say you had a list box with your contacts names in it and you'll double click on a name to move it into an unbound textbox (txtOnList) and include it in the mailing.

On the double-click event,
Code:
    txtOnList = txtOnList & "; " & ListBoxSelection

Your variable would then refer to the string you built with the listbox minus the extra semicolon at the end:
Code:
    MyMailList = Left(txtOnList, Len(txtOnList) - 2)

HTH
John

Use what you have,
Learn what you can,
Create what you need.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top