My VBA doesn't work with more than the first parameter. Here is my sub header: Sub filterPivotTables(ParamArray argumentsArray() As Variant , sheetName As String,pivotTableName As String,pivotField As String)
However, when I change the sub header to this: Sub filterPivotTables(ParamArray argumentsArray() As Variant) it works.
Is there a reason why I can’t pass in more than one parameter? How would you pass in more than one parameter? Thanks