+ Reply to Thread
Results 1 to 5 of 5

Show Date on Timer and Change Formatting when Approaching Deadlines

  1. #1
    Registered User
    Join Date
    04-30-2017
    Location
    Manila
    MS-Off Ver
    OFFICE 2013
    Posts
    2

    Show Date on Timer and Change Formatting when Approaching Deadlines

    Hi guys,

    I'm fairly new to macros and coding, but I want to do some stuff to simplify our work tracker.

    I want to set a running timer, which I will use to track deadlines. I copied the code below online, but it's not showing the date properly. Changing the formatting shows the date as 01/01/1900. Is there a way to show the date today on this?

    Please Login or Register  to view this content.
    For the next issue, I want to compare the value on the timer with the set deadlines. I want that with a click of the button, rows that are an hour before the deadline will change to orange. then set the format to red if they are over the deadline. Can anyone suggest a code for this?

    Thanks in advance for your help.
    Last edited by yuusei; 04-30-2017 at 04:16 AM. Reason: phrasing issues

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,384

    Re: Show Date on Timer and Change Formatting when Approaching Deadlines

    .
    .
    This will correct the timer issue:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-30-2017
    Location
    Manila
    MS-Off Ver
    OFFICE 2013
    Posts
    2

    Re: Show Date on Timer and Change Formatting when Approaching Deadlines

    Hi Logit! Thanks! Works wonders and solved the first part of the problem. Just need to set up the conditional statement that will compare time and dates for deadline tracking.

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,384

    Re: Show Date on Timer and Change Formatting when Approaching Deadlines

    You are welcome.

    Glad to help.

  5. #5
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Show Date on Timer and Change Formatting when Approaching Deadlines

    Attached example displays the correct format and colors the rows orange when within 1 hour before deadline and red when after deadline.
    Attached Files Attached Files
    Last edited by Tsjallie; 04-30-2017 at 03:13 PM.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

+ 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. Conditional formatting for dates approaching deadlines
    By mommyof3Teens in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-02-2016, 10:55 AM
  2. Conditional Formatting for approaching deadlines
    By jasonjhc in forum Excel General
    Replies: 1
    Last Post: 09-17-2014, 02:43 PM
  3. CF to colour cells that show a date approaching todays date
    By alexander.small in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-24-2013, 05:23 AM
  4. [SOLVED] Forumla/Formatting Cells Based on Date/Deadline Approaching
    By -Mat- in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-02-2012, 08:29 AM
  5. Conditional Formatting for deadlines
    By Mduncan88 in forum Excel General
    Replies: 1
    Last Post: 08-02-2012, 07:53 AM
  6. Conditional Formatting - Date Deadlines
    By adamgwsmith in forum Excel General
    Replies: 1
    Last Post: 01-19-2010, 12:12 PM
  7. conditional formatting deadlines
    By Joooooooo in forum Excel General
    Replies: 2
    Last Post: 02-07-2005, 10:06 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