+ Reply to Thread
Results 1 to 8 of 8

Need Auto-sort help in Excel

  1. #1
    Registered User
    Join Date
    04-04-2012
    Location
    Austin, TX
    MS-Off Ver
    Excel 2003
    Posts
    4

    Need Auto-sort help in Excel

    I have a spreadsheet (A250:T250). I'd like for the rows to resort based on the content in column A when any changes are made in column A. Right now it will automatically sort, but it sorts any time a change is made to any cell in the A250:T250 range and then the cursor automatically moves back to A1 each time. I'd like for the resort to occur only if changes are made in column A.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Need Auto-sort help in Excel

    What is the current sort code that you have?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    04-04-2012
    Location
    Austin, TX
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Need Auto-sort help in Excel

    Please Login or Register  to view this content.
    Last edited by hinesgg; 04-04-2012 at 10:45 AM.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Need Auto-sort help in Excel

    Hello hinsegg,

    Welcome to the Forum!

    Here is your macro with the required changes.
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 04-05-2012 at 07:05 PM. Reason: Corrected Spelling of Intersect (bold text)
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  5. #5
    Registered User
    Join Date
    04-04-2012
    Location
    Austin, TX
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Need Auto-sort help in Excel

    Thanks, but I get a VB error message. Compile error: Sub or Function not defined and it stops on the word Intersect.

  6. #6
    Forum Contributor
    Join Date
    06-16-2011
    Location
    London
    MS-Off Ver
    Excel XP
    Posts
    276

    Re: Need Auto-sort help in Excel

    If you cut and paste the code from this forum then it's cos he misspelt the word Intersect.

  7. #7
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Need Auto-sort help in Excel

    @swoop99,

    Thanks for spotting the error. I have corrected the spelling.

  8. #8
    Registered User
    Join Date
    04-04-2012
    Location
    Austin, TX
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Need Auto-sort help in Excel

    Working like a charm. Thanks all.

+ 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