Good Morning,
I have a spreadsheet consisting of 2 tabs.
First tab is called "MM" - this consists of a table, 2 columns by 13 rows with several rows below consisting of a few sentences. The table could increase to 4 or 6 columns but will always be 13 rows.
Second tab is called "Contacts MM" - this consists of 3 columns A, B & C where:
Column A shows names of individuals
Column B shows either "Yes" or "No"
Column C shows email address which may have one email or several emails on the same line semi colon delimited.
A B C
What I would like to do is have some VBA code to go through column B and all the rows that have a "Yes" take the email addresses in column C and create just the one email and add all the email addresses to .BCC
Then take the information in the First tab "MM" and add it to the body of the email
Can you help please?
Thank you in advance
Stephen
I have a spreadsheet consisting of 2 tabs.
First tab is called "MM" - this consists of a table, 2 columns by 13 rows with several rows below consisting of a few sentences. The table could increase to 4 or 6 columns but will always be 13 rows.
Legal Name | Stephen Preece |
Other Name | TEST |
Code | TEST |
Bank | TEST |
Value | TEST |
Domicile | TEST |
Type | TEST |
Date | TEST |
Instructions | TEST |
Details | TEST |
Address | TEST |
Admin | TEST |
List | TEST |
Second tab is called "Contacts MM" - this consists of 3 columns A, B & C where:
Column A shows names of individuals
Column B shows either "Yes" or "No"
Column C shows email address which may have one email or several emails on the same line semi colon delimited.
A B C
Joe Bloggs | No | email address; |
Michael Smith | Yes | email address; |
Stephen Preece | Yes | email address; email address; |
What I would like to do is have some VBA code to go through column B and all the rows that have a "Yes" take the email addresses in column C and create just the one email and add all the email addresses to .BCC
Then take the information in the First tab "MM" and add it to the body of the email
Can you help please?
Thank you in advance
Stephen