george hart
Board Regular
- Joined
- Dec 4, 2008
- Messages
- 241
Hi
I need code that sends an e-mail to a specific person (lotus notes) if range "A1" = Overdue.
The email address of the person needing the email will be in cell "B1" and so on B2, B3 Etc if the cell next to it in column A reads overdure.
The code below captures my range but not how to send the messge to the recipient...Any ideas most welcome.
Dim x As Integer
For x = 3 To Cells(Rows.Count, "A").End(xlUp).Row
If Range("A" & x) = "Overdue" Then _
'I need the code to go here to send a messege that reads, "Please esnure you update your files etc...
Next
End Sub
Many thanks in advance...
I need code that sends an e-mail to a specific person (lotus notes) if range "A1" = Overdue.
The email address of the person needing the email will be in cell "B1" and so on B2, B3 Etc if the cell next to it in column A reads overdure.
The code below captures my range but not how to send the messge to the recipient...Any ideas most welcome.
Dim x As Integer
For x = 3 To Cells(Rows.Count, "A").End(xlUp).Row
If Range("A" & x) = "Overdue" Then _
'I need the code to go here to send a messege that reads, "Please esnure you update your files etc...
Next
End Sub
Many thanks in advance...