Hi!
Hope everyone is great. I am here because I am in the middle of creating a pretty complicated database and I am do not have much knowledge of VBA code.
Specifically what I am trying to do is send an e-mail from access trough Outlook, which I have found that can be done easily. However I would like to send the e-mails to a specific amount of people that are going to be gotten by a Query that I have made in my database.
The purpose of my database is to compare information between several tables which contains people of whom I would like to know if they have been compliance with the policies of my company or not; and to those who have not send an e-mail to ask for the information I am needing from their side. So the list of e-mails should result from the query that I have created to compare the tables.
What I have tried so far is creating a macro with "Send Object" to send the e-mail, however in the "To" field I can not edit to tell the macro it should choose from the "Enterprise ID" field that results from the query.
Am I doing right this? Could I built a code to do this? I do not know much about VBA and I could not find in the web a code that can do such thing. How could I do to send the e-mail to the people I want?
Please find attached an example of the database I had created.
Thanks!
Hope everyone is great. I am here because I am in the middle of creating a pretty complicated database and I am do not have much knowledge of VBA code.
Specifically what I am trying to do is send an e-mail from access trough Outlook, which I have found that can be done easily. However I would like to send the e-mails to a specific amount of people that are going to be gotten by a Query that I have made in my database.
The purpose of my database is to compare information between several tables which contains people of whom I would like to know if they have been compliance with the policies of my company or not; and to those who have not send an e-mail to ask for the information I am needing from their side. So the list of e-mails should result from the query that I have created to compare the tables.
What I have tried so far is creating a macro with "Send Object" to send the e-mail, however in the "To" field I can not edit to tell the macro it should choose from the "Enterprise ID" field that results from the query.
Am I doing right this? Could I built a code to do this? I do not know much about VBA and I could not find in the web a code that can do such thing. How could I do to send the e-mail to the people I want?
Please find attached an example of the database I had created.
Thanks!