+ Reply to Thread
Results 1 to 2 of 2

How do I make the sort default to 'No header rows'

  1. #1
    DJT
    Guest

    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. #2
    David McRitchie
    Guest

    Re: How do I make the sort default to 'No header rows'

    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" <[email protected]> wrote in message news:[email protected]...
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1