LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Use VBA to automatically email from Excel

Thanks !!

Tom Ogilvy wrote:
React to a cell edited in column A:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then
If IsNumeric(Target.Value) And Target.Value 200 Then
YourMacroName
End If
End If
End Sub

or for a specific range of cells (B5:B20 in the example)

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Range("B5:B20"), Target) Is Nothing Then
If IsNumeric(Target.Value) And Target.Value 200 Then
YourMacroName
End If
End If
End Sub

I can get it to email based on one cell, but I need it to email based on a
range of cells depending on difference of todays date and the due date. I

[quoted text clipped - 12 lines]

Jake



--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200509/1


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically Email Excel File coal_miner Excel Programming 0 August 30th 05 07:01 PM
Email Excel File Automatically using Outlook 2000 Niraj Excel Programming 3 September 24th 04 11:09 AM
automatically send email from excel charlie Excel Programming 2 September 11th 04 08:31 PM
Automatically email document out of Excel Sabine[_3_] Excel Programming 2 January 28th 04 02:35 AM
Using Excel / VBA to automatically email forms - how? funperro Excel Programming 6 January 26th 04 06:51 PM


All times are GMT +1. The time now is 12:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"