Unable to get the PivotItem Property of the Pivotfield Class

  • Thread starter Thread starter Mike H.
  • Start date Start date
M

Mike H.

I get this error when I try to use VBA to modify the selections on a pivot
table chart. Any idea why?
 
With ActiveSheet.PivotTables("PivotTable1").PivotFields("Cost ctr")
.PivotItems("12335").Visible = False
End with
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top