2
有人知道如何設置EPPLUS的條件格式的字體顏色?如何使用EPPLUS設置條件格式的字體顏色?
Using rng = ws.Cells("A7:AD29")
Dim condSumLn = ws.ConditionalFormatting.AddExpression(rng)
condSumLn.Style.Font.Bold = True
condSumLn.Style.Fill.BackgroundColor.Color = Drawing.Color.LightGray
condSumLn.Formula = "If(OFFSET($AD" & iHeadRow + 1 & ",0,0)>0,1,0)"
End Using