Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

c# change cell color from value (xlsx)

$
0
0
I have a file xlsx which contains data:
ID 	VALUE
ID1204  0
ID5611  0
ID6711  1
ID4572  2

I want to color the cells in the ID column if VALUE is greater than 1.
I need to set background color in red the cell number ID4572.
The number of rows in the file can be more than 1000.
How to do it?
I use ClosedXML.Excel

Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>