H
headly
A recorded macro does this code
With ActiveSheet.PivotTables("PivotTable1").PivotFields("Product Name")
.PivotItems("Aniseed Syrup").Visible = True
End With
Yet when i try the comand in the immediate window i get run time error 1004
unable to set the visible property of the pivotitem class
Am i missing a reference? As i type pivot code, i don't get any code hints.
is this a late binding problem?
With ActiveSheet.PivotTables("PivotTable1").PivotFields("Product Name")
.PivotItems("Aniseed Syrup").Visible = True
End With
Yet when i try the comand in the immediate window i get run time error 1004
unable to set the visible property of the pivotitem class
Am i missing a reference? As i type pivot code, i don't get any code hints.
is this a late binding problem?