pivot update uses old version of named range

AnnetteTR

Board Regular
Joined
Aug 19, 2010
Messages
85
I have a problem in a collection of macros I am making in Excel. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
One macro is used to fill data into a spreadsheet. <o:p></o:p>
Other macros are used to, to deal with the above data, among other things, to form the PivotTable reports. <o:p></o:p>
The problem occurs when data is added to the source material.
The area used for the pivot table is named. If the named area is changed, the named range it will not be updated in the pivot table. <o:p></o:p>
Even if you try to create a new PivotTable report with the same name as sourcedata , is it the original range, which will be used-even if "Name Manager" shows the correct area.

Hope someone can help

Regards Annette

Details about code is here:
http://www.mrexcel.com/forum/showthread.php?t=531890
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top