LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
sae sae is offline
external usenet poster
 
Posts: 1
Default Email and if statements


Hello,

I am a BIG novice to programming in VB and I need help creating a macr
in excel.

Let me try to explain what I am trying to do:

The Macro should do one of the following:

- Send an email to the person in column 7 if the value in column 1
is ="over 60 days"
- Send an email to the person in column 10 if the value in column 1
is = "over 45 days".
- If column 19 is empty, then no email should be sent
- Do this automatically when the spreadsheet is open


In addition to this I want only one email to be sent to each perso
(ie. if it sends out a new email everytime the spreadsheet is open th
people will get annoyed :)). I suppose this could be accomplished b
having the macro also check a hidden column to see if this person ha
been already emailed or not.

I hope you people can help me out. :)

Thanks a lo

--
sa
-----------------------------------------------------------------------
sae's Profile: http://www.excelforum.com/member.php...fo&userid=1538
View this thread: http://www.excelforum.com/showthread.php?threadid=27000

 
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
Using Macro how to create email link for the email addresses in aRange or Selection Satish[_2_] Excel Worksheet Functions 8 December 28th 09 03:30 PM
send wkbk as an email attachment with an email address copied from SueInAtl Excel Discussion (Misc queries) 0 May 21st 07 10:53 PM
can I copy a column of email addresses, paste into email address? Lizizfree New Users to Excel 4 July 20th 06 10:03 PM
Transfer Email addresses from spreadsheet to email address book Beana Excel Discussion (Misc queries) 2 May 30th 06 06:07 PM
Email editor closes when forwarding Excel-embedded email Bambina Setting up and Configuration of Excel 0 March 16th 06 10:45 PM


All times are GMT +1. The time now is 08:11 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"