M
Mr.Ribit
I have found that items deleted from my source, standard worksheet,
are still appearing in the Pivot Table Drop down list. I have applied
the sollution in MS202232 but it did not clearup the outdated data. I
have refreashed the pivot table before and after runing the MACRO
"Delete_Fields"
Not sure what else can be done, I continue to search groups and MS.
********
This is the code for the MACRO based MS202232:
Sub Delete_Fields()
On Error Resume Next
For Each pvtfield In
Worksheets(PivotTables).PivotTables(PivotTable1).PivotFields
For Each pvtitem In pvtfield.PivotItems
pvtitem.Delete
Next
Next
ActiveSheet.PivotTables(PivotTable1).RefreshTable
End Sub
********
Did I miss something? Please don't assume previous knowledge on my
part, this is the first time I am using Pivot Tables.
Thank You
Thomas
are still appearing in the Pivot Table Drop down list. I have applied
the sollution in MS202232 but it did not clearup the outdated data. I
have refreashed the pivot table before and after runing the MACRO
"Delete_Fields"
Not sure what else can be done, I continue to search groups and MS.
********
This is the code for the MACRO based MS202232:
Sub Delete_Fields()
On Error Resume Next
For Each pvtfield In
Worksheets(PivotTables).PivotTables(PivotTable1).PivotFields
For Each pvtitem In pvtfield.PivotItems
pvtitem.Delete
Next
Next
ActiveSheet.PivotTables(PivotTable1).RefreshTable
End Sub
********
Did I miss something? Please don't assume previous knowledge on my
part, this is the first time I am using Pivot Tables.
Thank You
Thomas