LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Unable to get the PivotItems property of the PivotField Class


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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to get the PivotItem Property of the Pivotfield Class Mike H. Excel Programming 2 July 18th 08 06:38 PM
unable to set the Orientation property of the PivatField class Dan Excel Programming 0 October 15th 07 03:01 PM
Unable to set the XValues property of the Series class ramkumar_cpt Charts and Charting in Excel 5 November 29th 05 02:13 PM
Unable to set NumberFormat property of the PivotField class Seb[_5_] Excel Programming 0 December 6th 04 04:04 PM
Unable to set NumberFormat property of the PivotField class Seb[_5_] Excel Programming 0 December 6th 04 03:50 PM


All times are GMT +1. The time now is 01:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"