Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello, I'm having a problem with Excel forcing "Sum of " in front of the
Caption I'm assigning to my Datafields in a Pivot Table. Please see code below. In this case Excel takes my Caption "Backlog Coverage, Rev (K$)" and turns it into "Sum of Backlog Coverage, Rev (K$)" on the report. On the report I don't want the users to see that "Sum of ." Thanks in advance for any help you can provide. Best Regards, Dean CODE EXCERPT Set ptDashPORTPivot = Worksheets("DashPORT").PivotTables("DashPORTPivot" ) strDatafieldCaption = "Backlog Coverage, Rev (K$)" strDatafieldFormula = "(BillGrossR + BLCSDR)/1000" strNumberFormat = "#,###;-#,###;" ptDashPORTPivot.CalculatedFields.Add strDatafieldCaption, strDatafieldFormula, True With ptDashPORTPivot.PivotFields(strDatafieldCaption) .Orientation = xlDataField .NumberFormat = strNumberFormat End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem inserting calculated pivot fields into Pivot Table (2007) | Excel Discussion (Misc queries) | |||
Problem with Calculated item in Pivot Table | Excel Discussion (Misc queries) | |||
Calculated field problem in a Pivot table | Excel Discussion (Misc queries) | |||
Pivot Table Calculated Field Problem | Excel Discussion (Misc queries) | |||
Can I pull field as datafield or as a output from a pivot table re | Excel Discussion (Misc queries) |