Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Change pivot Table color on Condition

Hi,

I use a vbscript to load an external cube file into html
file. I can change the caption and format of the pivot
table totals. I have a total called sale percent change.
It should be shown in red color when negative a dn black
when positive.

set pview = PivotTable1.ActiveView
pview.Totals("Percent Change").NumberFormat = "%#0.00"
pview.Totals("Percent Change").Caption= "% Change"

Can anybody tell me how I can do that?

THanks so much for any help.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change row color based on condition of celss B G Excel Worksheet Functions 3 June 28th 06 08:56 PM
Change the color of cells in the pivot table minrufeng Excel Discussion (Misc queries) 0 March 14th 06 08:18 PM
Change the color of some cells in the pivot table minrufeng Excel Discussion (Misc queries) 0 March 14th 06 08:17 PM
Color Change in chart based of condition KRT Charts and Charting in Excel 1 July 1st 05 12:51 PM
change background color of row until condition is met fullymooned[_2_] Excel Programming 2 February 5th 04 09:20 PM


All times are GMT +1. The time now is 05:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"