Solved

Setting a group email in Access based on a flag in employee table

Posted on 2013-01-29
3
174 Views
Last Modified: 2013-01-29
I have a table of employees in Access 2010.  I have a "yes/no" field in the table on a column called SendEmail.  I would like to create a VBA script that when executed will populate the employees email addresses of all the "yes" employees from the table into the Outlook "To" field.  Once the email is open, with the email addresses in the TO field, I would type the message I would like to send.  

Is there a script out there that will do this?
0
Comment
Question by:marku24
3 Comments
 
LVL 39

Accepted Solution

by:
als315 earned 300 total points
ID: 38832183
Look at sample
DBmail.accdb
0
 

Author Closing Comment

by:marku24
ID: 38832302
great answer - easy and exactly what i was looking for
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 38832428
Alexey,

Slow down!  You are kicking my butt today.  ;-)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now