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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,222,828
Messages
6,168,484
Members
452,193
Latest member
Arlochorim

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