+ Reply to Thread
Results 1 to 3 of 3

Change Control Backcolor Based on Conditional Formatted Cell Color

  1. #1
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Change Control Backcolor Based on Conditional Formatted Cell Color

    Hi all,

    Assume you have a label control on a userform and want label's backcolor to reflect cell color. Easy with this:
    Please Login or Register  to view this content.
    However, this code does not work, if the cell is conditionally formatted. How to achieve this?

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Change Control Backcolor Based on Conditional Formatted Cell Color

    try:
    Please Login or Register  to view this content.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Re: Change Control Backcolor Based on Conditional Formatted Cell Color

    I knew it is going to be something simple. Thanks Kev!

+ 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. Hide rows based on conditional formatting cell backcolor?
    By kbleo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2015, 04:04 AM
  2. Replies: 5
    Last Post: 12-07-2013, 02:21 PM
  3. Replies: 3
    Last Post: 11-08-2013, 03:10 PM
  4. Conditional format to change color of row based on data in cell
    By PJenkins in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-02-2013, 09:39 AM
  5. Replies: 5
    Last Post: 05-22-2013, 10:24 PM
  6. Replies: 5
    Last Post: 05-10-2012, 10:49 PM
  7. [SOLVED] Conditional Formatted Cell Color Index
    By MDR5300 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-27-2005, 06:06 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