Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
ALPHABETIZE WORKSHEETS AUTOMATICALLY
|
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
ALPHABETIZE WORKSHEETS AUTOMATICALLY
This question gets asked every now and again:
Sub ArrangeSheetsInOrder() Dim iCount As Integer Application.ScreenUpdating = False iCount = Sheets.Count For i = 1 To iCount - 1 For j = i + 1 To iCount If Sheets(j).Name < Sheets(i).Name Then Sheets(j).Move Befo=Sheets(i) End If Next j Next i End Sub Regards, Ryan-- -- RyGuy "RSJAAG" wrote: I'VE CREATED A WORKBOOK WITH MANY WORKSHEETS. I'M WONDERING IF THERE'S A WAY TO ALPHABETIZE THE SHEETS AUTOMATICALLY. HELP!!! MY EMAIL IS |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
ALPHABETIZE WORKSHEETS AUTOMATICALLY
Please drop the all caps.
Hard on the ears and difficult to read. See Chip Pearson's site for VBA code to sort worksheets. http://www.cpearson.com/excel/sortws.aspx Gord Dibben MS Excel MVP On Thu, 7 Feb 2008 10:34:00 -0800, RSJAAG wrote: I'VE CREATED A WORKBOOK WITH MANY WORKSHEETS. I'M WONDERING IF THERE'S A WAY TO ALPHABETIZE THE SHEETS AUTOMATICALLY. HELP!!! MY EMAIL IS |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
ALPHABETIZE WORKSHEETS AUTOMATICALLY
RSJAAG,
One other thing, don't post your actual email address like you did. Spammers and the like have "bots" that will scan newsgroups for email addresses and then you will get hit with a bunch of spam. disguise it like this... RSJAAG AT COMCAST DOT NET ....or add words to it that need to be removed like this... EMOVE OSPAM UCKETOFSPAM HTH, Conan "RSJAAG" wrote in message ... I'VE CREATED A WORKBOOK WITH MANY WORKSHEETS. I'M WONDERING IF THERE'S A WAY TO ALPHABETIZE THE SHEETS AUTOMATICALLY. HELP!!! MY EMAIL IS |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
ALPHABETIZE WORKSHEETS AUTOMATICALLY
Thank you so much. I greatly appreciate your help! I'm learning as I go and
had an intro to macros last year. This helped. I was able to run this. --rsjaag "ryguy7272" wrote: This question gets asked every now and again: Sub ArrangeSheetsInOrder() Dim iCount As Integer Application.ScreenUpdating = False iCount = Sheets.Count For i = 1 To iCount - 1 For j = i + 1 To iCount If Sheets(j).Name < Sheets(i).Name Then Sheets(j).Move Befo=Sheets(i) End If Next j Next i End Sub Regards, Ryan-- -- RyGuy "RSJAAG" wrote: I'VE CREATED A WORKBOOK WITH MANY WORKSHEETS. I'M WONDERING IF THERE'S A WAY TO ALPHABETIZE THE SHEETS AUTOMATICALLY. HELP!!! MY EMAIL IS |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
alphabetize - automatically | Excel Worksheet Functions | |||
Is there a way to have a excel automatically alphabetize a sheet? | Excel Discussion (Misc queries) | |||
need to program my lists to automatically alphabetize when new ent | Excel Worksheet Functions | |||
How do I automatically alphabetize multiple worksheets in a singl. | Excel Discussion (Misc queries) | |||
how do I alphabetize items automatically in excel | Excel Worksheet Functions |