使用 c# 向工作表添加条件格式时
如何设置正在使用的 IconSet?
下面目前不工作。它给了我一组默认图标,但不是我想要的。
Excel.IconSetCondition cfIconSet =
(Excel.IconSetCondition)excelWorksheet.get_Range(cellNumber, cellNumber)
.FormatConditions
.AddIconSetCondition();
cfIconSet.IconSet = Excel.XlIconSet.xl3Flags;