troubleshooting Question

Excel colors to graph

Avatar of ExpExchHelp
ExpExchHelpFlag for United States of America asked on
Microsoft OfficeMicrosoft ExcelVBA
2 Comments1 Solution104 ViewsLast Modified:
Experts:

I would like to apply an Excel color scheme automatically to a graph.    That is, in attached spreadsheet, cells A25:C25 = blue, A26:C26 = yellow, A27:C27=red... I would like to apply the same colors to a graph.

When googling for any existing solution, I came across a spreadsheet (original source:  http://datapigtechnologies.com/blog/index.php/automatically-set-chart-series-colors-to-match-source-cell-colors/) which applies cell colors to the graph; however, underlying data is structured vertically vs. my data is structured horizontally.    Again, please see attached XLS... a picture is worth a 1000 words.

Does anyone know how to modify the existing VBA in order to accomplished the envisioned process?   By the way, I am totally open to a different solution that the one included in the XLS.

Thanks,
EEH
Cell-Colors-Applied-to-Graph.xlsm
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros