conditional-formatting

Installation
SKILL.md

条件格式 API

FormatConditions.Add 基本用法

// 参数: Type, Operator, Formula1, Formula2
// Type: 1=xlCellValue, 2=xlExpression
// Operator: 1=Between, 3=Equal, 5=Greater, 6=Less, 7=GreaterEqual, 8=LessEqual

// 示例: 大于 90 的单元格标绿
var rng = ws.Range("B2:B100");
var fc = rng.FormatConditions.Add(1, 5, "90");
fc.Interior.Color = 0x00AA00;
fc.Font.Color = 0xFFFFFF;
Installs
1
GitHub Stars
1
First Seen
Jun 11, 2026
conditional-formatting — claude-office-skills/claude-office-plugin