I am working on Access 2007 and Outlook 2010. I would like to be able to add buttons to the forms to be able to email the exports or reports. I am not having much luck searching around the internet trying to find code that would suit what I need.
I am just looking for 2 things to happen. I would like a message box to pop up asking the user if they want to email the query after it is exported to excel OR email the report that is generated. I would like both of these to happen without having to specify who the email is going to.
Right now all I have written is the Do.Cmd SendObject acOutlook.Mail
and it turns red.
Thank you!!
I am just looking for 2 things to happen. I would like a message box to pop up asking the user if they want to email the query after it is exported to excel OR email the report that is generated. I would like both of these to happen without having to specify who the email is going to.
Right now all I have written is the Do.Cmd SendObject acOutlook.Mail
and it turns red.
Thank you!!