VBA create emails based on content

crumbcounter

New Member
Joined
Sep 27, 2016
Messages
11
I run a macro that returns a table similar to below. These are change control tickets that need to be approved by 4 managers (APPDev, Help Desk, etc). From this table I would like to run a macro sending a single email to each manager listing the specific ticket number(s) that need to be approved.

Ideally the email would say

Hello Bobby (appdev manager).

Please review the following tickets:

[TABLE="width: 65"]
<tbody>[TR]
[TD]CC-1613[/TD]
[/TR]
[TR]
[TD]CC-1612[/TD]
[/TR]
[TR]
[TD]CC-1605[/TD]
[/TR]
[TR]
[TD]CC-1560[/TD]
[/TR]
</tbody>[/TABLE]




[TABLE="width: 1399"]
<tbody>[TR]
[TD]Key[/TD]
[TD]Summary[/TD]
[TD]Status[/TD]
[TD]Assignee[/TD]
[TD]Due Date[/TD]
[TD]Approved by AppDev[/TD]
[TD]Approved by Help Desk[/TD]
[TD]Approved by IT Services[/TD]
[TD]Approved by Infrastructure[/TD]
[/TR]
[TR]
[TD]CC-1613[/TD]
[TD]Phasing out of ATLPRT01, ATLFILE01 and ATLVCENTER[/TD]
[TD]Scheduled[/TD]
[TD]dave ratliff[/TD]
[TD="align: right"]11/30/2017[/TD]
[TD][/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]CC-1612[/TD]
[TD]Porting DC Phone Numbers from Level 3 to Comcast[/TD]
[TD]Scheduled[/TD]
[TD]Unassigned[/TD]
[TD="align: right"]11/15/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]CC-1605[/TD]
[TD]Power Down San Francisco Nimble Storage[/TD]
[TD]Scheduled[/TD]
[TD]john schmidt[/TD]
[TD="align: right"]10/13/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]CC-1560[/TD]
[TD]DR Test[/TD]
[TD]Scheduled[/TD]
[TD]Ben Gallahan[/TD]
[TD="align: right"]09/22/2017[/TD]
[TD][/TD]
[TD]Yes[/TD]
[TD][/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]




Thank you
 
Last edited:

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top