I have some data downloaded by means of a query created in VBA.
This data is then modified by adding columns of formulae.
A pivot table is then generated from the data and is further modified.
This is all done by procedures I have used many times before.
This time however when the pivot table is refreshed the two data columns are left out. This is unexpected and I cant see what I may have done differently to cause the problem.
I have prepared the attached workbook using the same code as the original in the hope that it would show what happens, but it works. (Click an option button and press "Choose a Month"
on UserForm2 to fire the code.)
I would guess that there will be code that would give more control over the pivot refresh than my Sub (DoPivot). Would that be a way forward?
John
Bookmarks