dbTalk Databases Forums  

Changing the font color of a pivot tables totals, metrics, data fields in (OWC Office Web Components)

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Changing the font color of a pivot tables totals, metrics, data fields in (OWC Office Web Components) in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Patrick
 
Posts: n/a

Default 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.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.