![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Location: Weathersfield,VT
Posts: 18
|
I'd appreciate knowing how to reorder the sequence of worksheets in the workbook. I know how to drag and drop, but I have a lot of worksheets and am adding more as I use the workbook. Is there a way to sort alphabetically, or other bases for grouping them? Also, I know I can mess up 3D references by moving sheets, but would like to select particular records/sheets to sort, without damaging important formula bearing sheets. Thanks very much. Bob
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sydney, Australia
Posts: 2,908
|
Hi,
Try here for a macro which sorts worksheets in ascending or descending alphabetical order. http://www.cpearson.com/excel/sortws.htm If you move the location of the sheets the references will be fine - the link is not dependant on the physical location of the sheet within your workbook. HTH, Dan |
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Location: Weathersfield,VT
Posts: 18
|
Dan, Thanks very much. That code did the job well. Bob
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|