+ Reply to Thread
Results 1 to 3 of 3

sort button - how to sort large range in boxes

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    sort button - how to sort large range in boxes

    hello

    in my attached workbook, i want to be able to sort different tables. my sort button has the following macro:


    Please Login or Register  to view this content.
    it's only sorting row 22:28.

    i want it to sort from row 17:137 in the respective column R

    if i go:
    Range("E17:AG137").Sort Key1:=Range("R17:R137"), Order1:=xlAscending, _


    ^the above throws everything out of synch....pls help!!

    thx u
    Attached Files Attached Files
    Last edited by jw01; 03-06-2012 at 09:35 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: sort button - how to sort large range in boxes

    Hi

    You just need to include the other ranges within your sort routine
    Please Login or Register  to view this content.
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  3. #3
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: sort button - how to sort large range in boxes

    awesome..and DUH...thx u so much!

+ 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