G
Gaura215
Hello
I have a code which make a Pivot using VBA. however there is a conditio
that I am unable to fulfilled in that pivot using my VBA.
I will try to write it here the code I wish for.
ActiveSheet.PivotTables("PivotTable2").PivotFields_
("ReportTimeframe") .CurrentPage = "(All)"
With ActiveSheet.PivotTables("PivotTable2").PivotFields("Repor
Timeframe")
_____.PivotItems.*Last_Month*.Visible_=_True
____.PivotItems.*All_Other_Months*.Visible_=_False_
End With
I want a fix in my underline codes above.
Any help in this would be appreciable
I have a code which make a Pivot using VBA. however there is a conditio
that I am unable to fulfilled in that pivot using my VBA.
I will try to write it here the code I wish for.
ActiveSheet.PivotTables("PivotTable2").PivotFields_
("ReportTimeframe") .CurrentPage = "(All)"
With ActiveSheet.PivotTables("PivotTable2").PivotFields("Repor
Timeframe")
_____.PivotItems.*Last_Month*.Visible_=_True
____.PivotItems.*All_Other_Months*.Visible_=_False_
End With
I want a fix in my underline codes above.
Any help in this would be appreciable