+ Reply to Thread
Results 1 to 9 of 9

Excel Popup Reminder - Doesn't popup

  1. #1
    Registered User
    Join Date
    03-18-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    8

    Excel Popup Reminder - Doesn't popup

    Hi

    I am trying to create a reminder for some dates. A popup message should appear 30 days before the date, but currently when I test the code nothing happens. Please help.



    Please Login or Register  to view this content.

  2. #2
    Forum Contributor lancer102rus's Avatar
    Join Date
    04-02-2014
    Location
    Ufa
    MS-Off Ver
    Excel 2010, 2013
    Posts
    252

    Re: Excel Popup Reminder - Doesn't popup

    Run your macro step-by-step and watch the expression "RemStatus = "Due soon" And DateDiff("d", DueDate, Date) >= -30"

  3. #3
    Registered User
    Join Date
    03-18-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    8

    Re: Excel Popup Reminder - Doesn't popup

    Hi

    I pressed F8 to run but nothing happened.

    Thanks

  4. #4
    Forum Contributor lancer102rus's Avatar
    Join Date
    04-02-2014
    Location
    Ufa
    MS-Off Ver
    Excel 2010, 2013
    Posts
    252

    Re: Excel Popup Reminder - Doesn't popup

    if you show me your file, I`ll could help you more efficient

  5. #5
    Registered User
    Join Date
    03-18-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    8

    Re: Excel Popup Reminder - Doesn't popup

    Quote Originally Posted by lancer102rus View Post
    if you show me your file, I`ll could help you more efficient
    Hi

    Please find attachment.

    Thanks
    Attached Files Attached Files

  6. #6
    Forum Contributor lancer102rus's Avatar
    Join Date
    04-02-2014
    Location
    Ufa
    MS-Off Ver
    Excel 2010, 2013
    Posts
    252

    Re: Excel Popup Reminder - Doesn't popup

    1) Workbook_Open procedure must be written in ThisWorkbook and not in Sheet1
    2) You calculate Issue wrong. Change in 2 places of your code to this:
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    03-18-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    8

    Re: Excel Popup Reminder - Doesn't popup

    Hi

    I added and move the code as you suggested but still no popup message, however Column H and I changed colour according to the Range(CloumnNameDate + RowNrString).Interior.ColorIndex = 2
    but I only want the "Due soon" ones to change colour not "Expire" ones.

    Any ideas? Thanks

  8. #8
    Forum Contributor lancer102rus's Avatar
    Join Date
    04-02-2014
    Location
    Ufa
    MS-Off Ver
    Excel 2010, 2013
    Posts
    252

    Re: Excel Popup Reminder - Doesn't popup

    In your example file you check dates for expiration: DateDiff("d", DueDate, Date) >= 0
    use DateDiff("d", DueDate, Date) >= -30 instead of this, and be sure that you has such dates (e.g. 2015.04.01)

  9. #9
    Registered User
    Join Date
    03-18-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    8

    Thumbs up Re: Excel Popup Reminder - Doesn't popup

    Hi

    Thanks for your help is finally working now.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to create popup reminder in excel throug vba....
    By shahhiren108 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-22-2015, 01:18 PM
  2. popup alert message during the worksheet open and continuous work on the sheet popup jump
    By shailkam2001 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2014, 10:24 AM
  3. excel to generate an auto popup for reminder on specific date
    By Computaplanet in forum Excel General
    Replies: 4
    Last Post: 07-24-2013, 04:35 AM
  4. Replies: 5
    Last Post: 04-08-2010, 01:01 AM
  5. Replies: 1
    Last Post: 07-22-2009, 09:45 AM

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