I scearch to evaluate Conditional Formats create with Excel but i don't find ConditionalFormats.
- Code: Select all
var b2 = sheet.Range["B2"];
var count = b2.ConditionalFormats.Count; // count == 0
Thanks for your help
var b2 = sheet.Range["B2"];
var count = b2.ConditionalFormats.Count; // count == 0
var c4 = sheet.Range["C4"];
var count = c4.ConditionalFormats.Count; // Count == 0
var c4e7 = sheet.Range["C4:E7"];
count = c4e7.ConditionalFormats.Count; // Count == 1