Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Sorting Sheets in a workbook

Hi,
I have a workbook in which there are around 450 sheets are are named as 1,
2, 3 etc. These sheets are unordered and the workbook is updated to add more
sheets and are placed at the end. I want to sort these sheets and also,
everytime a new sheet is added, I want them to be placed at the right
position in the workbook.

Could you please let me know if I can achieve this usign Excel Macro or VBA ?
Ex:
Currently the sheets are in the order 1, 5, 3, 9, 7, 20, 11, 22,19 etc.
And after sorting the sheets should be in the order
1,3,5,7,9,11,19,20,22 etc.

Regards,
Mnj 78
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Sorting Sheets in a workbook

Hi
see your other post

P.S.: please don't multipost

--
Regards
Frank Kabel
Frankfurt, Germany

"Mnj 78" schrieb im Newsbeitrag
...
Hi,
I have a workbook in which there are around 450 sheets are are named

as 1,
2, 3 etc. These sheets are unordered and the workbook is updated to

add more
sheets and are placed at the end. I want to sort these sheets and

also,
everytime a new sheet is added, I want them to be placed at the right
position in the workbook.

Could you please let me know if I can achieve this usign Excel Macro

or VBA ?
Ex:
Currently the sheets are in the order 1, 5, 3, 9, 7, 20, 11, 22,19

etc.
And after sorting the sheets should be in the order
1,3,5,7,9,11,19,20,22 etc.

Regards,
Mnj 78


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
Multiple Sheets (Need to create 500 individual sheets in one workbook, pulling DATA Amaxwell Excel Worksheet Functions 4 August 17th 06 06:23 AM
How to repeat a code for selected sheets (or a contiguous range of sheets) in a Workbook? Dmitry Excel Worksheet Functions 6 March 29th 06 12:43 PM
Sorting Sheets in a Workbook Mnj 78 Excel Programming 2 October 12th 04 06:39 PM
Sheets select method fails when workbook is opened by another workbook Mike Excel Programming 2 June 8th 04 04:17 AM
Sorting sheets emilija Excel Programming 2 October 2nd 03 07:38 PM


All times are GMT +1. The time now is 06:55 AM.

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"