Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DJT
 
Posts: n/a
Default How do I make the sort default to 'No header rows'

I often sort a range of cells using the sort ascending arrows. Most of the
time the first row is not sorted due to Excel assuming that the first row is
a header.
How do I make the default "No header rows" so that the sort ascending works
without having to use Data, Sort
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

I don't know of any way, Ctrl+Z is your friend, so if it doesn't work
use Data Sort

You could write your own macros, and assign to your own toolbar button
http://www.mvps.org/dmcritchie/excel/toolbars.htm

Sub SortAscending_NoHeader()
Cells.Sort Key1:=ActiveCell, _
Order1:=xlAscending, Header:=xlNo, _
OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
End Sub
Sub SortAscending_Header()
Cells.Sort Key1:=ActiveCell, _
Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
End Sub


--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"DJT" wrote in message ...
I often sort a range of cells using the sort ascending arrows. Most of the
time the first row is not sorted due to Excel assuming that the first row is
a header.
How do I make the default "No header rows" so that the sort ascending works
without having to use Data, Sort



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
Why does the Sort function stop recognizing Header Rows? Frostfire Excel Worksheet Functions 4 July 17th 05 11:43 PM
sort 2 or more rows of cells linked to one row of data Magdalena Excel Worksheet Functions 1 July 16th 05 09:43 PM
Changed Titled bar and now sort doesn't default to "Header Row" Steven Excel Discussion (Misc queries) 4 May 10th 05 05:21 PM
How do I sort rows with hyperlinks? SKTAZZ Excel Discussion (Misc queries) 1 March 16th 05 05:00 PM
how do I reset the default sort order in excel xp back to blanks . MardiL Excel Discussion (Misc queries) 2 February 24th 05 08:15 PM


All times are GMT +1. The time now is 12:59 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"