+ Reply to Thread
Results 1 to 2 of 2

change macro for sorting data to dynamic

  1. #1
    Registered User
    Join Date
    04-10-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    76

    change macro for sorting data to dynamic

    Hi Guys,

    I've recorded almost the perfect macro for the job but unfortunatly it doesn't work as a dynamic range. Does someone have idea's on how to make it dynamic (see below):

    Please Login or Register  to view this content.
    Thanks in advance

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: change macro for sorting data to dynamic

    Assuming that the last row to sort by can be detected by looking UP column A from the bottom of the sheet to find the last row with data:

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sorting Dynamic Data
    By vt2009 in forum Excel General
    Replies: 1
    Last Post: 04-28-2012, 10:18 PM
  2. Sorting Macro with Dynamic Ranges
    By fervorking in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-11-2011, 09:51 AM
  3. macro: dynamic group data change
    By poppypoppy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-20-2010, 10:43 AM
  4. macro: dynamic group data change
    By poppypoppy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-18-2010, 04:15 PM
  5. Auto-Sorting Dynamic Data
    By MAMC84 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-05-2008, 11:52 AM

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