+ Reply to Thread
Results 1 to 3 of 3

Color the column bars of a chart the same color as the text in the underlying data

  1. #1
    Registered User
    Join Date
    09-15-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    35

    Color the column bars of a chart the same color as the text in the underlying data

    Hi,

    Looking for help with a macro that does the following.

    Colors the column bars of a chart the same color as the text in the underlying data source of the chart.
    Should work even when rows/column_bars are hidden.

    Thanks!

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Color the column bars of a chart the same color as the text in the underlying data

    Are you filling in the color manually, or is the color assigned by conditional formatting? Could you include a sample workbook, please?
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Color the column bars of a chart the same color as the text in the underlying data

    Have you seen these from Jon Peltier? http://peltiertech.com/vba-condition...ategory-label/ which links to other variations These procedures set the bar/column color the same as the cell background color, but it should be easy enough to adapt to font color.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Apply Color to chart based on Data source text color
    By ajm1991 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2016, 08:41 PM
  2. [SOLVED] Possible to conditional format fill color of pivot chart bars?
    By DaveF in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 10-31-2013, 09:12 AM
  3. make chart label color same color as data point
    By desertsp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2013, 05:02 PM
  4. [SOLVED] Color Chart Data Points By Cell Color
    By smile0 in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 06-10-2012, 04:42 PM
  5. Change chart color bars VBA code assistance
    By BGiffin2004 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-14-2011, 01:14 PM
  6. how to change color of bars in bar chart based on 2nd variable
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2010, 09:49 AM
  7. color top ranking three bars with different color in the same series of data
    By qwervbnmasdf in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-09-2007, 02:39 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