Hello All,
I have macro that creates a pivot table. It works fine, but the data area (the grid between columns and row headers) needs formating. I can do it manually, but I don't want to. I've tried a variety of methods for formating but no luck.
Can any one help me out?
-Pete
Games the old fashion way with Dice, Paper and Pencils!
I have macro that creates a pivot table. It works fine, but the data area (the grid between columns and row headers) needs formating. I can do it manually, but I don't want to. I've tried a variety of methods for formating but no luck.
Can any one help me out?
Code:
' NO JOY
oExcelPivotSheet.PivotTables("PivotTable1").PivotFields("Cost").NumberFormat = "_($* #,##0_);_($* (#,##0);_($* ""-""??_);_(@_)"
-Pete
Games the old fashion way with Dice, Paper and Pencils!