+ Reply to Thread
Results 1 to 2 of 2

Run message box when cell value time is exceed system time

Hybrid View

  1. #1
    Registered User
    Join Date
    04-26-2014
    Location
    penang
    MS-Off Ver
    Excel 2013
    Posts
    3

    Run message box when cell value time is exceed system time

    Hi,

    I have a excel file.

    I wish to write a vba script to compare the system time and the cell value time.

    If system time is exceed the cell value time, it will show a pop out message to inform user that, the time is exceed.

    My file will look like this:

    Untitled.png

    I have been research a while but seem like only vba code will able to complete this requirement.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,875

    Re: Run message box when cell value time is exceed system time

    If msgbox shall pop up when somebody enters value which is before system time - you shall write code for Worksheet Change event
    If the checking time shall occur in bacground I'd recommend programming OnTime and repeatedly (if it's not fraction of second critical), say every 10 seconds check last cell in column N if it is not earlier than system time.

    Which is your case? And ... having above tip (so knowing what to search) can you write it yourself?
    Best Regards,

    Kaper

+ 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. Stop running macro when time value in a cell reached or exceed
    By bezbid in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-26-2015, 08:23 PM
  2. changing value in cell based on system date and time
    By Saky in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2010, 03:56 AM
  3. How to display system time and date continuously on cell while
    By Orange.CL in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-25-2010, 04:28 AM
  4. Using VBA to get system time in GMT equivalent instead of local time
    By kuraitori in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-03-2009, 06:12 PM
  5. Formula requireing the system time:current time
    By Major Tomm in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-31-2005, 03:05 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