email notification on change in cell text

yssteve

New Member
Joined
Jun 13, 2011
Messages
2
Hi guys,

have been trying to solve this problem but thought i'll need some help afterall..

i've been trying to get an email notification to be sent out after a range(H:H) has been updated to different statuses (default as ACTV, needs email when changes to SUSP or HALT) via a formula automatically. the change or on calculate events doesn't work..i tried an if or statement but it didn't work too

thanks in advance!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
thanks for the quick reply! that helps alot with the email firing part but i'm still quite lost about the following..

when the status (Column H via the formula) changes from "ACTV" to "SUSP" or "HALT", notification to be sent, but when "SUSP" or "HALT" back to "ACTV", no action is needed..

any input?

thanks again guys!
 
Upvote 0
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 8 Then
    If Target.Cells.Count <> 1 Then Exit Sub
If ch = "SUSP" Then EMAIL_SCRIPT
If ch = "HALT" Then EMAIL_SCRIPT
If ch = "ACTV" Then Exit Sub
End If
End If
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

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