LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Sort Worksheet Tabs

You can click and drag them by the tabs and move them to their rightful
locations--or you could run a macro:

Chip Pearson's:
http://www.cpearson.com/excel/sortws.htm

David McRitchie's:
http://www.mvps.org/dmcritchie/excel...#sortallsheets

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Remember that the names are strings,

so
1
2
11
12
20
30

will sort like:
1
11
12
2
20
30

You'll have to either adjust the code to convert the names to numbers--or use a
nice format for your worksheet names:

0001
0002
0011
0012
0020
0030
....

Beep Beep wrote:

I have a bunch of tabs and the name's are numbers. Any way to sort the tabs
with a macro.

Thanks
Frank


--

Dave Peterson
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort Worksheet Tabs BSII Excel Programming 4 February 2nd 07 11:26 PM
Is it possible to sort the tabs in a workbook? Jules Excel Discussion (Misc queries) 1 August 3rd 06 07:49 PM
Sort tabs Stan Excel Discussion (Misc queries) 4 April 26th 06 06:18 PM
Sort the Tabs A-Design Excel Programming 4 July 13th 05 11:03 PM
Re-Sort Worksheet tabs Campbti Excel Worksheet Functions 1 March 10th 05 05:16 PM


All times are GMT +1. The time now is 11:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"