【发布时间】:2018-09-17 18:19:44
【问题描述】:
如何使用 C# .Net 在 OpenXML 中添加条件格式。我希望应用以下条件:
=INDIRECT("D"&ROW())="Disapproved" 那么规则应该适用于:=$1:$3,$N$4:$XFD$4,$5:$1048576
我的功能设置如下:
using (SpreadsheetDocument document = SpreadsheetDocument.Open(openFileDialog1.FileName, true))
{
// apply conditions here
}
【问题讨论】: