+ Reply to Thread
Results 1 to 2 of 2

VBA gradient color change depending on value change reset timer

  1. #1
    Registered User
    Join Date
    03-26-2013
    Location
    Canada
    MS-Off Ver
    ms365
    Posts
    79

    VBA gradient color change depending on value change reset timer

    Hello,

    how do I change the color of a cell depending on the value?
    ex:

    something needs to be done in 24 hrs. I have created a VBA when I press the reset button, the timer value updates. says "5 hours till deadline", "20 hours till deadline" so on and so forth.
    I want it so the closer we get to the deadline, the color should change from green (say 5hrs elapsed) to red (20hrs elapsed). Any help would be appreciated. thnx.

    also, is it possible to update the timer automatically, without me hitting the reset button? (not important right now but just curious)

    thanx in advance.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: VBA gradient color change depending on value change reset timer

    You can color the cell with conditial format (CF).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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: 12-17-2018, 07:59 AM
  2. Replies: 1
    Last Post: 09-18-2018, 04:57 PM
  3. Change color of button when timer runs
    By Artos90 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2016, 02:28 AM
  4. Change Cell Color to Gradient Based on Adjacent Cell Colors
    By Weathertuck in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-21-2013, 04:49 PM
  5. Change tab color depending on cell value
    By rirons04 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-01-2011, 02:34 PM
  6. Replies: 3
    Last Post: 07-08-2010, 06:48 PM
  7. Change color depending on cell value
    By Gary Paris in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-06-2005, 08:08 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