+ Reply to Thread
Results 1 to 3 of 3

Sort and Specify that you have a header row

Hybrid View

  1. #1
    Darin Kramer
    Guest

    Sort and Specify that you have a header row



    Hi There,

    I want to specify that I have a header row.
    Below is the VB

    Selection.Sort Key1:=Range("C2"), Order1:=xlDescending, Header:=xlGuess,
    _
    OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
    DataOption1:=xlSortNormal

    So I know I need to change header from xlGuess, but what do I change it
    to???

    Thanks

    D



    *** Sent via Developersdex http://www.developersdex.com ***

  2. #2
    Registered User
    Join Date
    08-27-2003
    Location
    Perth, Australia
    MS-Off Ver
    2000
    Posts
    47
    Hi
    try xlYes
    Nicky

  3. #3
    Darin Kramer
    Guest

    Re: Sort and Specify that you have a header row



    Thanks Nicky!

    *** Sent via Developersdex http://www.developersdex.com ***

+ 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