+ Reply to Thread
Results 1 to 5 of 5

Sort all rows with data except for first row

  1. #1
    Registered User
    Join Date
    06-14-2013
    Location
    CA, USA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Sort all rows with data except for first row

    Hey All,

    I want to write a macro that will sort my worksheet called "90Day" according to the dates in Column I. The number of rows in the sheet will always change, but I want to essentially sort all of the rows with data, EXCEPT for the first row.

    How would I do this?

    Thanks in advance!

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Sort all rows with data except for first row

    Try this:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    163

    Re: Sort all rows with data except for first row

    xladept was quicker
    Last edited by Sbarro79; 06-20-2013 at 07:40 PM.

  4. #4
    Registered User
    Join Date
    06-14-2013
    Location
    CA, USA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Sort all rows with data except for first row

    I extracted parts and pieces of what you gave me, and managed to make it work, so thank you for your help!!

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Sort all rows with data except for first row

    You're welcome! There weren't many "parts or pieces" - glad you got it working

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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