+ Reply to Thread
Results 1 to 2 of 2

Change color of button when timer runs

  1. #1
    Registered User
    Join Date
    04-24-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    11

    Change color of button when timer runs

    I am using the timer in the attached spreadsheet to track machine changeover and cleaning times. I would like to create a macro to change the color of the button, so when the timer is on it is green and when the timer of off it is red.

    I used conditional formatting to give an visual indication when the timer is on or off. Is it possible to write a macro to change the color of the button based on the timer status?

    Appreciate any help!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: Change color of button when timer runs

    Something like this I believe...

    Please Login or Register  to view this content.

+ 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. Create running stopwatch/timer with 1 button (start/stop). No reset button.
    By leeroy2612 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-26-2021, 12:59 AM
  2. [SOLVED] Click oval option button to fill/unfill color, also change border color to match fill
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-07-2015, 08:29 PM
  3. Change button color twice and release focus after second change
    By juriemagic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2014, 02:35 AM
  4. Change Button Color
    By jeff_kaufman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-18-2013, 02:15 PM
  5. [SOLVED] Change Background color of a Form Button or ActiveX Button
    By Aeneren in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-11-2012, 12:19 PM
  6. Show text message instead of egg timer while macro runs
    By CasualVisitor in forum Excel General
    Replies: 2
    Last Post: 09-25-2009, 02:39 PM
  7. how to get my button on a for mto change color
    By Pierre in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-22-2005, 04:45 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