Solved

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

Posted on 2013-01-29
3
180 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

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 48

Expert Comment

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

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

705 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