I am trying to change the names of my pivot table columns that is created in a macro. The names of the columns from my data table will always change, but the locations will remain the same.
ActiveSheet.PivotTables("PivotTable5").AddDataField ActiveSheet.PivotTables( _...