Excel colors to graph

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
ExpExchHelpAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ejgil HedegaardCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ExpExchHelpAuthor Commented:
Awesome!!!!   Works like a charm.   Thank you, Ejgil!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VBA

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.