Macro for sorting in multimple spreadsheets

neveu

Board Regular
Joined
Jan 27, 2009
Messages
225
hi excel fans,

I'm having a little bit of problem in finding an 2007 Excel solution for the next issue:

I need to create some reports in Excel containing in a file with several spreadsheets having tha same fields but different data offcourse.

the data from these spreadsheets are obtained from a pivot table by double click on the records. so the data is automatically formated as a table in the spreadsheets.
usually I have like 20-30 spreasheets that I have to apply the same sorting criteria (on 3 fields). this is very time consuming and I tried to do a macro but i get a nasty error that i think has to do to the fact that the spreadsheets and tables names are different.

the number of rows in the spreadsheets are at most 200.

could you please give me some advise?

I don't know if this is possible but it would be wonderfull if the macro would work for all the spreadsheets I'm selecting at once and not one at a time.

thank you, looking forward for your replies
,neveu
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,214,929
Messages
6,122,317
Members
449,081
Latest member
tanurai

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