email specific values to specific people in spreadsheet using macro

seancm

New Member
Joined
Sep 1, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi All
I relativly new to macros

I have been looking for a macro that does the following

I have a workbook with 2 sheets

sheet 1 is a list of meetings for the week by our reps
Column a is the reps name
Column b is who they met
Column c is the date they met
Column d is when they met
Column e is the duration of the meeting in other words how long it was
Column f is their supervisor's name

Sheet 2 is a table of supervisors and associated emails


I need a vba script that says if a supervisors name appears on sheet 1 column d
then generate an email to that supervisor using the table in sheet 2

in the body of that email

list all associate rep names with associated values

example:

(rep name1) "met with" (Who) "on" (Date) "at" (when)" for" (duration)
(rep name2) "met with" (Who) "on" (Date) "at" (when)" for" (duration)

and so on..

for each supervisor

can anyone help me with this
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
clarification some reps are temp hires and do not have a supervisor listed I want to skip these
 
Upvote 0

Forum statistics

Threads
1,223,713
Messages
6,174,043
Members
452,542
Latest member
Bricklin

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