+ Reply to Thread
Results 1 to 4 of 4

Change cell fill when cell is updated

  1. #1
    Forum Contributor
    Join Date
    02-24-2010
    Location
    BC, Canada
    MS-Off Ver
    Excel 2010
    Posts
    174

    Arrow Change cell fill when cell is updated

    I have a macro that runs indefinitely, and every 30 seconds (exact time will vary) it updates cell B1 of the active sheet (sheet name ABC). I would like the user looking at the screen to be alerted that the value has changed by changing the fill color of the cell. Is there a way of having the fill color of the cell alternate between blue, green and yellow every time the cell is written to? (Light colors so that the black text is still legible.)

    I update the cell using this code, which appears in several different places throughout the macro:

    Please Login or Register  to view this content.
    Thanks
    Last edited by The Phil; 07-29-2013 at 02:21 AM.

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Change cell fill when cell is updated

    In the very next line add this line..

    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Forum Contributor
    Join Date
    02-24-2010
    Location
    BC, Canada
    MS-Off Ver
    Excel 2010
    Posts
    174

    Re: Change cell fill when cell is updated

    Cool, that code pretty much does the trick. Some dark colors still came up so I altered the code to this and it sticks to light colors. Thanks!

    Please Login or Register  to view this content.

  4. #4
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Change cell fill when cell is updated

    Thanks for the feedback.. and rep..

+ 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. [SOLVED] automatically change all cell values based on updated entry
    By ruliansyah in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 02-02-2013, 06:22 AM
  2. Change cell fill color when unprotected cell selected -
    By Stratfordoaks in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-18-2013, 06:16 PM
  3. Replies: 2
    Last Post: 10-26-2012, 09:57 AM
  4. Auto change one cell's fill to match another cell
    By spotta in forum Excel General
    Replies: 1
    Last Post: 06-12-2012, 07:34 AM
  5. Change the cell fill color
    By phoenix4031 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-11-2009, 12:32 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