formula-operations

Installation
SKILL.md

公式写入规范

核心原则:用 .Formula 写公式,不用 .Value2 写计算结果

// ✅ 正确:写入公式,Excel 自动计算
ws.Range("D2").Formula = "=B2*C2";
ws.Range("D20").Formula = "=SUM(D2:D19)";

// ❌ 错误:用 JS 算好再写入值(用户无法调参)
ws.Range("D2").Value2 = b2 * c2;

公式拖填(批量写入)

Installs
1
GitHub Stars
1
First Seen
Jun 11, 2026
formula-operations — claude-office-skills/claude-office-plugin