Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default sort sheets except the first sheet

I've got a workbook where the first sheet contains the user instructions and
the remaining sheets are where the user enters the data. I need a macro to
sort the data sheets numerically but not sort the first sheet, which is named
"Instructions." I looked at the Chip Pearson website but I couldn't figure
out how to exclude my first sheet from the sort.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default sort sheets except the first sheet

If you named your first sheet "_Instructions" (underscore at the beginning),
then it should sort before numbers and so it will remain in position 1.

Hope this helps.

Pete

"Bill_S" wrote in message
...
I've got a workbook where the first sheet contains the user instructions
and
the remaining sheets are where the user enters the data. I need a macro
to
sort the data sheets numerically but not sort the first sheet, which is
named
"Instructions." I looked at the Chip Pearson website but I couldn't
figure
out how to exclude my first sheet from the sort.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default sort sheets except the first sheet

Or you could use Chip's macro, but at the end, move the Instructions sheet to
the leftmost position.

'almost all of Chip's code
sheets("Instructions").move _
befo=sheets(1)
End Sub

Why fight it <vbg.


Bill_S wrote:

I've got a workbook where the first sheet contains the user instructions and
the remaining sheets are where the user enters the data. I need a macro to
sort the data sheets numerically but not sort the first sheet, which is named
"Instructions." I looked at the Chip Pearson website but I couldn't figure
out how to exclude my first sheet from the sort.


--

Dave Peterson
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
Sort sheet based on particuilar sort order Also Excel Worksheet Functions 4 January 3rd 08 09:31 AM
How do I sort a list that is on two sheets? John N Excel Discussion (Misc queries) 1 January 19th 06 11:04 PM
a-z sort sheets Dale Excel Discussion (Misc queries) 3 November 22nd 05 02:06 PM
a-z sort on sheets Dale New Users to Excel 1 November 22nd 05 12:52 AM
way to automaitic sort sheet one numerical, sheet two alpha? wichita6 Excel Worksheet Functions 3 February 11th 05 03:43 PM


All times are GMT +1. The time now is 05:34 PM.

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"