+ Reply to Thread
Results 1 to 18 of 18

Pop up when date reached

  1. #1
    Forum Contributor
    Join Date
    08-08-2008
    Location
    Belfast
    Posts
    112

    Pop up when date reached

    Hi peeps

    a very simple one here I've copied different codes and tried adjusting them to suit but with no joy. I have attached a simplified version of a sheet I'm using for which I require a pop up box to appear when opened containing the details in a certain cell when the relevant date is passed. I would like individual pop ups for each instance if possible. I need this to work for all 3 sheets in the book.

    If I already have a pop up box upon opening giving instructions will this need to be removed (not in the example).

    Cheers
    Attached Files Attached Files

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Pop up when date reached

    If I understand what you are trying to do....this may get you close....

    basically when you open the file it determines the amount of rows, then loops through the row comparing column "H" dates with today. Then using msgbox displays pieces of information....HTH
    Attached Files Attached Files
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Forum Contributor
    Join Date
    08-08-2008
    Location
    Belfast
    Posts
    112

    Re: Pop up when date reached

    Cherrs judgeh59

    Yest thats just what I need (I attached the wrong example file sorry) how do I have it work for the three sheets in the new attached file.

    Again what you suggested is perfect but not sure how to setup all the sheets.

    David
    Attached Files Attached Files

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Pop up when date reached

    no problem---this should do it for you....you can change the data display in the msgbox....
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    08-08-2008
    Location
    Belfast
    Posts
    112

    Re: Pop up when date reached

    Thanks so much for that it's bang on. I was going to start setting up conditional formatting to another sheet for each one then use your code to for that sheet probably wouldnt have worked and def no as good as this.

    Thanks again

    David

  6. #6
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Pop up when date reached

    glad I could help and thanks for the rep point....have a great day....

  7. #7
    Forum Contributor
    Join Date
    08-08-2008
    Location
    Belfast
    Posts
    112

    Re: Pop up when date reached

    Oops spoke too soon,

    OK I tried to be smart but its backfired, I thought I only needed the code for those "review" sheets and then I would adjust to suit. Turns out I'm too thick to do that. I've removed all the data from my file and saved it with new name (attached) I need the code for only the review sheets

    Thanks again

    David
    Attached Files Attached Files

  8. #8
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Pop up when date reached

    this should work...
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    08-08-2008
    Location
    Belfast
    Posts
    112

    Re: Pop up when date reached

    Works perfectly when the exact date is reached can it show for when its passed the date as the sheet may noe be opened every day so may miss the exact day....

    sorry for being a numpty.

  10. #10
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Pop up when date reached

    sure, just change the macro code from an "=" to a ">=".....now this may cause a problem to ones that have already been reviewed....so you may need to adjust the code to determine if a review took place....I haven't looked at the file enough to know if there is a column that shows that row has been reviewed....

  11. #11
    Forum Contributor
    Join Date
    08-08-2008
    Location
    Belfast
    Posts
    112

    Re: Pop up when date reached

    Cheers really appreciate your help on this for me (if they don't reset the review date then they will be the ones getting the grief lol)

    Again many thanks, I'll leave you in peace now.

  12. #12
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Pop up when date reached

    works me for....no problem at all....have a great day....

  13. #13
    Forum Contributor
    Join Date
    08-08-2008
    Location
    Belfast
    Posts
    112

    Re: Pop up when date reached

    Sorry
    Attached Files Attached Files

  14. #14
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Pop up when date reached

    okay...that's not real helpful.....I did get an error when opening it directly from this website....just click END and save the file to your location....

    Also, when I ran it and got no data in the fields....I forgot to put the Sheet reference in the Msgbox area....my bad....

    does this cover "Sorry" ......

  15. #15
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Pop up when date reached

    oh sure here is the file....sorry
    Attached Files Attached Files

  16. #16
    Forum Contributor
    Join Date
    08-08-2008
    Location
    Belfast
    Posts
    112

    Re: Pop up when date reached

    OK I tried running it adding date removing dates entries etc and now its doing exactly as I need, thanks again really great help.

  17. #17
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Pop up when date reached

    not a problem....we want that sucker to work...

  18. #18
    Forum Contributor
    Join Date
    08-08-2008
    Location
    Belfast
    Posts
    112

    Re: Pop up when date reached

    Ignore Please
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Davycc; 04-20-2015 at 08:31 AM.

+ 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. Replies: 4
    Last Post: 09-18-2014, 01:14 AM
  2. Check Date to see if it has been Reached
    By basketball2524 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-11-2014, 01:18 PM
  3. sending an email from excel when date is reached in a cell date
    By ldelafosse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-28-2014, 08:58 PM
  4. Replies: 1
    Last Post: 04-18-2012, 05:49 PM
  5. Replies: 2
    Last Post: 09-09-2011, 12:30 PM

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