+ Reply to Thread
Results 1 to 4 of 4

Change chart colors corresponding to cell color

  1. #1
    Registered User
    Join Date
    01-18-2017
    Location
    egypt
    MS-Off Ver
    2013
    Posts
    10

    Change chart colors corresponding to cell color

    Is it possible to change chart color in correspondence to cell color
    For eg if cell is green i need the part in chart represents it to be green as well

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Change chart colors corresponding to cell color

    With such limited information I can only say that probably yes.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    01-18-2017
    Location
    egypt
    MS-Off Ver
    2013
    Posts
    10
    Quote Originally Posted by KOKOSEK View Post
    With such limited information I can only say that probably yes.
    Can you tell me how

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Change chart colors corresponding to cell color

    It is possible by VBA. Check color of cell which is data of series and then apply it into series on chart.
    Could you attached sample file, please? Describe inside what do You need and then we will try to help You.
    Check attached file. Each calculation generates random colors for cells (which are data for chart) then based on these colors colouring columns on chart.
    Attached Files Attached Files
    Last edited by KOKOSEK; 09-23-2019 at 09:12 AM.

+ 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] Color changing: change the color of one cell, and have other cells change colors too
    By hadydea in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-17-2019, 04:51 PM
  2. Change Chart Color Scheme to stop repeating same colors
    By yankeekid86 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-01-2019, 12:50 PM
  3. [SOLVED] VBA code to change Excel chart bar colors as per cell colors
    By mchilapur in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-21-2016, 03:29 AM
  4. Change bar chart fill colors to match the color of a random cell
    By gwbe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-03-2014, 08:12 PM
  5. Can I change the color of labels in a 3D pie chart to match cell colors?
    By Macphersonian in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2013, 12:07 PM
  6. Macro to change cell border colors from one color to another
    By Hanskubansku in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-13-2012, 07:41 AM
  7. Can I change the colors in the fill color chart?
    By Genesis Pat in forum Excel General
    Replies: 2
    Last Post: 03-28-2006, 02:55 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