+ Reply to Thread
Results 1 to 2 of 2

Pop up Message with option of OK and SNOOZE

Hybrid View

  1. #1
    Registered User
    Join Date
    01-30-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Pop up Message with option of OK and SNOOZE

    I am trying to do a excel macro which can inform the user through pop up message once time reached at 1400 (2PM) & 1700 (5PM)

    For example:

    D1 =TEXT(NOW(),"HHMM") (This is Auto updating clock which I have put through another macro, this will be updating every second)

    J2 = 1400
    J3 = 1700

    When the D1 clock value is equal to J2 (i.e. 1400) it should pop out message "Its 2 PM save your work" (this popup will come with 2 button of OK and Snooze, "OK" will finish the cycle of pop up, whereas "Snooze" will again remind the same message in 2 minutes.

    Same will be done when D1 clock changes to J3 (i.e.1700)

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Pop up Message with option of OK and SNOOZE

    Hi, mr_andreson,

    the normal Message Box does not have a buttoin called "snooze" so you would need to create a userform in VBA to do the job. Maybe have a look at Application.OnTime for starting the macro to show the UF at the given times (the next start should be given as wanted).What should happen if a different workbook is active at the given times?

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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. Display Message If no Option Button is Selected
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-07-2013, 08:48 PM
  2. Message Box givig an Option to Create a new file
    By MHamid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-30-2013, 12:52 PM
  3. Option to Exit Macro Via Message Box
    By kirsty in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-12-2010, 11:05 AM
  4. cell message with option buttons
    By Rmagic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-18-2005, 01:55 PM
  5. Replies: 1
    Last Post: 11-03-2005, 11:10 PM

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