+ Reply to Thread
Results 1 to 7 of 7

E-mail Notifications

  1. #1
    Registered User
    Join Date
    04-17-2012
    Location
    Seattle, WA
    MS-Off Ver
    2007
    Posts
    8

    Question E-mail Notifications

    Hello all,

    I have a spreadsheet that has a list of products that I need to order and dates that they need to be ordered by. I would like to set up e-mail notifications when the date required to order is 10 days away. From my research it looks like I need to write some code to accomplish this. I haven't done anything with VB for about 8 years, could someone help me out?

    Thanks, I really appreciate it.

    -KB

  2. #2
    Registered User
    Join Date
    05-07-2012
    Location
    Delhi
    MS-Off Ver
    Excel 2003 and Excel 2007
    Posts
    62

    Re: E-mail Notifications

    Please confirm which e-mail you are using (Lotus, Outlook or any web based)?
    How you want to send the mailer i.e clicking on a button or any event based?

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Registered User
    Join Date
    04-17-2012
    Location
    Seattle, WA
    MS-Off Ver
    2007
    Posts
    8

    Re: E-mail Notifications

    Outlook and I'd like it event based on the current date.

  4. #4
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: E-mail Notifications

    In order for it to be time-based, the workbook would always need to be open, and a function/procedure would always need to be running to check the time. This is very inefficient, in my mind. The solution to this would be, when a record is created or updated, to create an Outlook appointment for that date/time. Outlook has been designed to generate notices based on time and so is the preferable tool.

    If you provide a sample workbook that describe the type of data you will be recording, and the flow of the work, this would be very helpful in designing a solution that suits your needs.

  5. #5
    Registered User
    Join Date
    04-17-2012
    Location
    Seattle, WA
    MS-Off Ver
    2007
    Posts
    8

    Re: E-mail Notifications

    I agree that that's inefficient and would definitely be open to the Outlook appointment route.

    I've attached a sample of the workbook I'm using. I would want it based off of the "Hypothetical Order Date" column. I've put conditional formatting on that column but would like a more direct notification when the date is getting closer.

    Again thanks for the help, this is definitely over my head!
    Attached Files Attached Files

  6. #6
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: E-mail Notifications

    Try this:

    Please Login or Register  to view this content.
    The above code assumes that you are changing only a single cell at a time.

  7. #7
    Registered User
    Join Date
    11-05-2008
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    67

    Re: E-mail Notifications

    KB,
    I would reccomend visiting Ron De Bruins website which has a number of examples on sending emails from Excel, his website is here

    Iain

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1