Refer to this March 2001 SQL Server magazine article by Russ Whitney,
entitled: "Setting Display Characteristics". It discusses both
server-side and client-side techniques for conditionally controlling
cell color:
http://www.sqlmag.com/Articles*/Inde...rticleID=16514
Excel alone may not support server-side formatting. But Office Web
Component (OWC) Pivot Tables support it:
http://support.microsoft.com/default...b;en-us;318122
Quote:
|
INFO: Using Analysis Server Format Properties with the Office XP
|
PivotTable Component
SUMMARY
SUMMARY
The Microsoft Office XP PivotTable component supports two undocumented
properties: UseProviderFormatting and DisplayCellColor. These properties
allow you to use server formatting for cells and totals in a PivotTable
view.
• When you set the UseProviderFormatting property to True, the
PivotTable component applies number formats that are stored on the
server to the totals that appear in the PivotTable view. The default
setting for this property is False.
• When you set the DisplayCellColor property to True, the PivotTable
component applies Forecolor and Backcolor settings that are stored on
the server to the cells that appear in the PivotTable view. The default
setting for this property is False.
• The PivotTable component does not support other format properties that
can be set on the server, such as FontName, FontSize, and FontFlags.
NOTE: The UseProviderFormatting and DisplayCellColor properties are
hidden members in the Microsoft Office XP Web Components object model.
These members are not documented and, therefore, these members are not
supported by Microsoft Technical Support. The sample code in this
article is provided "as-is."
...
There are Excel OLAP Add-Ins, including from Microsoft:
http://www.microsoft.com/office/solu...eladdin/overvi
ew.mspx
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***