Please disregard this post, and refer to the one below it, that has the excel file attached. I did not realize I posted twice.
Here is my attempt to create a solution for emailing multiple recipients from Excel 2011 for Mac using MacMail application. Special thanks to Ron de Bruin for providing much of the macro VBA code. His macro did not specifically address my question, and I've tried to adapt his code for my uses.
I've tried using similar code with the email addresses in the same worksheet as all the other data and could not get the email to send to multiple people. For ease of use, I created a separate worksheet named 'Contacts' that contains the filterable list of email names and addresses. I don't need to attach any excel data to the email, so there is no need to save any files for attachments.
There is an error somewhere in here that I can't figure out. I believe it is in the MacForMail function using the vlookup. I know little about VBA coding, and am still traumatized from learning Basic back in the early 80's :-D. Here is my code, and thank you in advance for any help.
Please let me know what I've done wrong here! I really need to get this working and am running out of time.
Bookmarks