Page 1 of 1

convert vba to ahk code

Posted: 20 Oct 2018, 20:03
by twc_gaurav
ActiveSheet.PivotTables("PivotTable5").PivotFields("pivotfieldname").CurrentPage = _
"(All)"
With ActiveSheet.PivotTables("PivotTable5").PivotFields("pivotfieldname")



.PivotItems("filteredvalue").Visible = True

End With

could any one help me to convert this code in ahk code ,
Action to Perform:- I have a pivot table 5, "pivotfieldname", i want to select one pivot items that is specified in code by "filtered value"