Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default ALPHABETIZE WORKSHEETS AUTOMATICALLY

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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 419
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default RSJAAG,One other thing, don't post your actual email address likeyou did.

EMOVE
OSPAM
UCKETOFSPAM


If that doesn't work I guess I'm screwed@! Nice tip. tis why I just joined the forum.

No more spam too,

JC

On Thursday, February 07, 2008 1:34 PM RSJAA 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



On Thursday, February 07, 2008 2:44 PM ryguy727 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:



On Thursday, February 07, 2008 2:49 PM Gord Dibben wrote:


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:



On Thursday, February 07, 2008 3:11 PM Conan Kelly wrote:


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
...



On Thursday, February 07, 2008 4:28 PM RSJAA wrote:


Thank you so much. I greatly appreciate your help! I am learning as I go and
had an intro to macros last year. This helped. I was able to run this.
--rsjaag

"ryguy7272" wrote:




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
alphabetize - automatically mandyjo830 Excel Worksheet Functions 2 November 14th 06 09:30 PM
Is there a way to have a excel automatically alphabetize a sheet? Mzinsser Excel Discussion (Misc queries) 2 September 18th 06 05:13 PM
need to program my lists to automatically alphabetize when new ent star*dreams Excel Worksheet Functions 0 June 1st 05 02:20 AM
How do I automatically alphabetize multiple worksheets in a singl. TS Excel Discussion (Misc queries) 2 March 19th 05 01:05 AM
how do I alphabetize items automatically in excel inspector timm Excel Worksheet Functions 1 December 18th 04 03:25 PM


All times are GMT +1. The time now is 03:25 PM.

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

About Us

"It's about Microsoft Excel"