Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have an existing Pivot Table and want to use VBA code to select items from a dropdown list. When I execute the following code, I get the error message: Unable to get the PivotItems property of the PivotField class, ActiveSheet.PivotTables("PivotTable3").PivotFields ("Group").PivotItems(parm_file_workbook).Visibl e = True I've checked the Pivot Table Name and "PivotTable3" is correct. The parm_file_workbook value is "AIM", which is a valid value in the "Group" field. I've also tried adding the following code before execute the above code: ActiveSheet.PivotTables("PivotTable3").PivotCache. Refresh, but that did not solve the problem. I've done some research and found that several people have received this error. However, none of the proposed solutions seemed to work or address this specific problem. Can anyone help me? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Unable to get the PivotItem Property of the Pivotfield Class | Excel Programming | |||
unable to set the Orientation property of the PivatField class | Excel Programming | |||
Unable to set the XValues property of the Series class | Charts and Charting in Excel | |||
Unable to set NumberFormat property of the PivotField class | Excel Programming | |||
Unable to set NumberFormat property of the PivotField class | Excel Programming |