I am currently creating a macro from a data worksheet but I am receiving an error.
Initially, I just recorded the macro however when I am running it, i am receiving an addfields method of Pivot Table Class failed.
ActiveSheet.PivotTables("PivotTable4").AddFields RowFields:="Level 3", _
ColumnFields:="Date"
this is code that was having an error and I am not sure what was wrong with it?
Can someone forward me a sample of the macro code to resolve this?
Alib
Bookmarks