Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Background fill for empty cells within the table

$
0
0
var backColor = XLColor.FromArgb(255, 255, 246);
wb.Worksheet(worksheetNum).ColumnsUsed().CellsUsed().Style.Fill.SetBackgroundColor(backColor);

This skips empty cells. Is there a way to make the background only for the cells within the table, but including empty cells?

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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