Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How do I alphabetize the tabs on a spreadsheet with 25 tabs?

Hi,

Alt+F11 to open vb editor. Right click 'ThisWorkbook' and insert module and
paste the code below in and run it

Sub Sortem()
For x = 1 To Worksheets.Count
For y = x To Worksheets.Count
If UCase(Sheets(y).Name) < UCase(Sheets(x).Name) Then
Sheets(y).Move Befo=Sheets(x)
End If
Next
Next
End Sub
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Anita" wrote:

The only way I know is to drag and drop but it's time consuming. Is there an
easier way?

Reply
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
is it possible to alphabetize tabs and how? Heather Excel Discussion (Misc queries) 8 November 21st 08 05:06 PM
How to alphabetize worksheet tabs? joyfulnoiz Excel Discussion (Misc queries) 5 October 31st 07 05:51 PM
is it possible to alphabetize worksheet tabs? mel Excel Worksheet Functions 1 February 27th 07 12:50 AM
alphabetize tabs MarkT Excel Discussion (Misc queries) 4 October 12th 06 03:27 PM
How to Alphabetize Worksheet Tabs? campbti New Users to Excel 0 March 10th 05 05:21 PM


All times are GMT +1. The time now is 03:57 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"