gibt es ein Makro, mit dem ich im Zeilenfeld einer Spalte "Alle anzeigen " lassen kann ?
So haut es jedenfalls nicht hin:
With ActiveSheet.PivotTables("Gesamt").PivotFields("HG").PivotItems("All").Visible = True
End With
Gruß
Jutta
Sub details()
Dim PEL, e
Set PEL = ActiveSheet.PivotTables(1).RowFields(1).PivotItems
For Each e In PEL
e.ShowDetail = True
Next
End Sub
Sub alleda()
Dim pel, e
On Error Resume Next
Set pel = ActiveSheet.PivotTables(1).RowFields(1).PivotItems
For Each e In pel
e.Visible = True
Next
End Sub