Click here to Skip to main content
15,887,831 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys

I am new to openxml, I want to get the background color for a cell in Excel using openxml, but i don't know how to start it.

Anyone can help me ?
Many thanks
Posted

Refer to this answer[^].
 
Share this answer
 
Thanks for your help Mario.
I have tried the example in the link But it is not giving me the exact background color of the cell. some times i am getting object reference null exception as well even when the color is present for the cell. also there are some indexed based colors which i am not understanding to decode. any code example will be greatly help full.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900