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

I am working on a project to track the status of production jobs. Ideally I
would like excel to automatically email the appropriate person a couple of
days before the deadline to ensure the job stays on track. This is the first
time using visual basic so my knowledge is very limited. I was able to find
a code from this website http://www.rondebruin.nl/mail/change.htm but it is
not exactly what I need. If anyone can help me out I would really appreciate
it.

thanks

Jake
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Use VBA to automatically email from Excel

In what ways is it what you need?

In what ways is it not what you need?

--
Regards,
Tom Ogilvy


"Jake via OfficeKB.com" <u14346@uwe wrote in message
news:550134986f565@uwe...
I am working on a project to track the status of production jobs. Ideally

I
would like excel to automatically email the appropriate person a couple of
days before the deadline to ensure the job stays on track. This is the

first
time using visual basic so my knowledge is very limited. I was able to

find
a code from this website http://www.rondebruin.nl/mail/change.htm but it

is
not exactly what I need. If anyone can help me out I would really

appreciate
it.

thanks

Jake



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Use VBA to automatically email from Excel

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
have one column set up to determine the number of days left, currently there
are 50 or so jobs running so there are 50 or so rows. I need it to
automatically email from the different cells in the column when appropriate.
I'm not sure if I explained that properly but I appreciate your help.

Tom Ogilvy wrote:
In what ways is it what you need?

In what ways is it not what you need?

I am working on a project to track the status of production jobs. Ideally I
would like excel to automatically email the appropriate person a couple of

[quoted text clipped - 7 lines]

Jake

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Use VBA to automatically email from Excel

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

--
Regards,
Tom Ogilvy





"Jake via OfficeKB.com" <u14346@uwe wrote in message
news:550190b788b61@uwe...
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
have one column set up to determine the number of days left, currently

there
are 50 or so jobs running so there are 50 or so rows. I need it to
automatically email from the different cells in the column when

appropriate.
I'm not sure if I explained that properly but I appreciate your help.

Tom Ogilvy wrote:
In what ways is it what you need?

In what ways is it not what you need?

I am working on a project to track the status of production jobs.

Ideally I
would like excel to automatically email the appropriate person a couple

of
[quoted text clipped - 7 lines]

Jake



  #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


Reply
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 09:42 AM.

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"