Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can someone please tell me why this won't work?
I have a spreadsheet that feeds from an Access database. It refreshes every minute. When certain conditions are met, cell G12 changes from "NO" to "YES". I don't understand why the following code won't work. The cell CHANGES from NO to YES, but it doesn't trigger the email to be sent. Private Sub Worksheet_Change(ByVal Target As Range) If Range("G12").Value = "YES" Then ActiveWorkbook.Send Recipients = " Subject = "NOC AGING" & Format(Date, "dd/mm/yy") End If End Sub Thank you in advance for any help you can give me. Gee |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sending to email different email address based on cell value | Excel Programming | |||
Macro for Email - Sending to email addresses in cell | Excel Programming | |||
Sending An Email In Excel Programmatically W/O Sending An Object | Excel Programming | |||
Sending a Spreadsheet as an Email Attachment vs. Imbedded in Email | Excel Discussion (Misc queries) | |||
email sending | Excel Programming |