+ Reply to Thread
Results 1 to 5 of 5

How to include newly inserted rows into a "sort" Macro?

  1. #1
    Registered User
    Join Date
    03-27-2013
    Location
    Sioux Falls, SD
    MS-Off Ver
    Excel 2010
    Posts
    13

    How to include newly inserted rows into a "sort" Macro?

    I set up a Macro that will sort a specific range in my document. Although when I add in a new row it is not included in the sort? How do I set it up so it will include newly inserted rows into the "sort"?

    Below is the current Macro I have set...


    Please Login or Register  to view this content.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: How to include newly inserted rows into a "sort" Macro?

    Hi BAWLIS,

    Try this:
    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,601

    Re: How to include newly inserted rows into a "sort" Macro?

    duplicated above
    Last edited by protonLeah; 04-04-2013 at 10:25 PM.
    Ben Van Johnson

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: How to include newly inserted rows into a "sort" Macro?

    W instead of A??

    Sorry - I'm an old software tester..

    I do like your SortRange variable..

  5. #5
    Registered User
    Join Date
    03-27-2013
    Location
    Sioux Falls, SD
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: How to include newly inserted rows into a "sort" Macro?

    MarvinP: Thanks It worked perfectly. I did not try the one from protonLeah since the first one worked. Thanks Again!!!

+ 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