Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can change the field names manually by clicking the cell with the field
heading you want to change, then edit it in the Formula Bar. To do the same using VBA, you change the Caption property of the field, as follows: Sub AAAA() 'Change Product to ProductX ActiveSheet.PivotTables("PivotTable1"). _ PivotFields("Product").Caption = "ProductX" 'Change Sum of Quantity to Count of Quantity ActiveSheet.PivotTables("PivotTable1"). _ PivotFields("Sum of Quantity").Caption = _ "Count of Quantity" End Sub Hope this helps, Hutch " wrote: hi, i'm currently working on a pivot table using a german version of Excel 2003. Whenever I open the file using the english verison the pivot field names are stilled displayed in german. ("Summe von... " instead of "Sum of...") but the really weird stuff starts now: if I change the aggregation function from sum to count, the values displayed in the table change accordingly but the pivot table field name remains at "Summe von..." (in german!!) seems like an annoying bug :-( any ideas how to change/update the names displayed programmatically? thanx for any suggestions Verena |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot Table Field Names | Excel Discussion (Misc queries) | |||
Pivot Table field names don't match | Excel Discussion (Misc queries) | |||
Changing field names without affecting pivot table | Excel Discussion (Misc queries) | |||
Pivot table field names | Excel Worksheet Functions | |||
Setting Pivot Table Page Field Names using VBA | Excel Programming |