+ Reply to Thread
Results 1 to 4 of 4

Tweaking of Macro Code to sort rows

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    3

    Tweaking of Macro Code to sort rows

    I have some code for a macro that is designed to SORT multiple ROWS not columns. I have tweaked it a bit so that Column A would NOT be included in the sort of every row becuase it was a header row. However, I need only columns B through F sorted. Not Column G........I have got it to ignore column A, but how do I get it to ignore colum A and G?

    Here is the code:


    Please Login or Register  to view this content.
    Last edited by arlu1201; 06-22-2012 at 02:14 PM. Reason: Use code tags in future.

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Tweaking of Macro Code to sort rows

    Please put your code in tags.
    Try this,

    Please Login or Register  to view this content.
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  3. #3
    Registered User
    Join Date
    06-22-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Tweaking of Macro Code to sort rows

    japandave,

    PERFECT!!!!......works like a charm. I am still trying to wrap my head around how it actually works. Thank You so much for replying with this

  4. #4
    Registered User
    Join Date
    06-22-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Tweaking of Macro Code to sort rows

    Oh now I see, you ended it with a 5. Sheesh!!!!!! so easy but yet I was stumped!!! Thanks Again JapanDave

+ 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