+ Reply to Thread
Results 1 to 4 of 4

Auto sort code to include adjacent columns

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Auto sort code to include adjacent columns

    Hello guys,

    I have an issue with my code that I need to sort my data as it is updated from another sheet. The code I have will only sort the first column and excludes the adjacent column. I need the rows to remain intact as they are sorted since the data is relative. I have looked in previous threads that relate to automatically sorting data but I could not find anything useful for my particular example.

    Again, I appreciate any and all help that can be offered to me today

    Frantelle

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto sort code to include adjacent columns

    Try this:

    Or change the range to suit


    Please Login or Register  to view this content.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    05-10-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Auto sort code to include adjacent columns

    Winon

    Thanks for your reply and apologies for my delay in responding. Your solution seemed to help although I found the greater portion of my issue to be lying within my name range as I was using a dynamic range. I didn't set the appropriate values in the OFFSET function. Everything is working perfectly now.

    Kind regards

    Frantelle

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto sort code to include adjacent columns

    You are welcome.

    Glad I could help by "setting" the trigger to solve your issue.

+ 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