I need to execute a VBA script but when i try to use invoke VBA activity the character inside the script changes. The original script inside a .txt file ;
’
ActiveSheet.PivotTables(“PivotTable1”).PivotFields(“yıl”).ClearAllFilters
With ActiveSheet.PivotTables(“PivotTable1”).PivotFields(“yıl”)
.PivotItems(“2020”).Visible = True
.PivotItems(“(blank)”).Visible = True
End With
ActiveSheet.PivotTables(“PivotTable1”).PivotFields(“yıl”). _
EnableMultiplePageItems = False
ActiveSheet.PivotTables(“PivotTable1”).PivotFields(“yıl”).CurrentPage = “(All)”
End Sub
------- (“yıl”) it is a turkish word. and when the activity runs it converts this word to this ; (“yıl”)
i have to run this macro in that excel file. is there a way to run in .xlsx file? it is a huge excel file which contains multiple pages and as i said it is not allowed to convert its’ extension to .xlsm