Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I get this error and I don't know how to fix it. "Unable to get the
PivotFields property of the Pivot Table Class." What does this mean and does anyone know how to fix it. Thank you in advance.... |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Neal,
It occurs when the field name used does not exist. Eg: Dim f As PivotField Set f = ActiveSheet.PivotTables(1).PivotFields("a") If field "A" does not exist, it fails. Try to display your filed names: ? ActiveSheet.PivotTables(1).PivotFields(1).Name 'then 2,3,4... And make su - the field name exist - you are referencing the right pivot on the right sheet. Regards, Sebastien "Neal" wrote: I get this error and I don't know how to fix it. "Unable to get the PivotFields property of the Pivot Table Class." What does this mean and does anyone know how to fix it. Thank you in advance.... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PivotTable - PivotFields VBA | Excel Discussion (Misc queries) | |||
Deleting PivotFields from a PivotChart in VB.NET | Charts and Charting in Excel | |||
Where does Excel store the orientation of PivotFields? | Charts and Charting in Excel | |||
Combining 2 Pivotfields to 1(Help!!!) | Excel Programming | |||
Pivotfields.CurrentPage | Excel Programming |