Send automatic email when a cell changes in excel 2010

Poolshark25

New Member
Joined
Jan 3, 2019
Messages
31
Hi all

I have a training spreadsheet and want to send an automatic email to a manager when a cell D9 changes to "Retrain" in the column D "Status"

Cell C9 holds the managers email address manager@email.com

I need the following in the email:

  • email address of the recipient
  • Subject: Training Required
  • Content: Employee ??? is now due further raining on "Pesticies", please arrange this to comply with company policy

Regards

Traning Adminisrator


Is there a way the spreadsheet can be coded to automatically generate and send the email to the manager once the cell in D9 changes to read "Retrain"?

I am using Windows 10 and Outlook

I would grateful of any help wit this please
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi Poolshark,
check out the site of Ron de Bruin, he has quite some tutorials on emailing with VBA from Excel e.g. : https://www.rondebruin.nl/win/s1/outlook/bmail4.htm
To start a macro, code like this could be used:
Code:
 Sub Worksheet_Change(ByVal Target As Range)

    If Not Intersect(Target, Target.Worksheet.Range("B1")) Is Nothing Then

      Call macro

    End If

 End Sub
Cheers,
Koen
 
Upvote 0

Forum statistics

Threads
1,223,718
Messages
6,174,077
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