K
Kanan
Hi
I would appreciate if somebody can answer the following puzzle
Dim pt As PivotTabl
Dim pi As PivotIte
Sheets("Sheet4").Selec
Set pt = ActiveSheet.PivotTables(1
For Each pi In pt.PivotFields("Series").PivotItem
If pi.Name = "GUPTA MD,ANITA" The
pi.Visible = Tru
End I
Next p
The above code fails in the line 'pi.Visible = True'.
but it works OK if the value is set to False
thanks in advanc
Kanan
I would appreciate if somebody can answer the following puzzle
Dim pt As PivotTabl
Dim pi As PivotIte
Sheets("Sheet4").Selec
Set pt = ActiveSheet.PivotTables(1
For Each pi In pt.PivotFields("Series").PivotItem
If pi.Name = "GUPTA MD,ANITA" The
pi.Visible = Tru
End I
Next p
The above code fails in the line 'pi.Visible = True'.
but it works OK if the value is set to False
thanks in advanc
Kanan