Changing the font color of a pivot tables totals, metrics, data fields in (OWC Office Web Components) -
12-17-2003
, 01:48 PM
You can change the font color by assigning the number format in the
following way:
document.pt.ActiveView.Totals(totals1).NumberForma t =
"#,##0_);[Red]\(#,##0\)"
I'm not sure of the syntax but this will change the font red and
enclose in parentheses if it is less than zero. |