hi....
I am in need of writing VBA code for -
Dim oPI As PivotItem
For Each BUitem In ActiveSheet.PivotTables("PivotTable2").PivotFields("BU")
Select Case BUitem.Name
Case "(blank)"
Case Else
oPI.Visible = False
End Select
Next BUitem
But it is not working ...any suggestions
I am in need of writing VBA code for -
- deselecting few items in a pivot
- deselecting all but one
Dim oPI As PivotItem
For Each BUitem In ActiveSheet.PivotTables("PivotTable2").PivotFields("BU")
Select Case BUitem.Name
Case "(blank)"
Case Else
oPI.Visible = False
End Select
Next BUitem
But it is not working ...any suggestions