Sorting records VBA error

Fwiz

Board Regular
Joined
May 15, 2007
Messages
241
Hi all,

I'm having an issue when I process a complex macro, when it finished I save as normal, then close - when I open the file again I keep getting this error message: Removed Records: Sorting from /xl/worksheets/sheet13.xml part</removedRecord>

I can see it relates to worksheet 13, on that sheet I have a pivot table - how can I fix this and stop errors before i save the file?

any suggestions?
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Sheet13.xml is the 13th sheet in the workbook & has nothing to do with the sheet name or the sheet code name.
I suspect that you have a macro that uses Worksheet.Sort, in which case you need to change the code so that it clears all sort ranges, before adding the new ones.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,022
Latest member
RobertV1609

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