+ Reply to Thread
Results 1 to 4 of 4

macro to sort dynamic data

  1. #1
    Registered User
    Join Date
    04-02-2015
    Location
    Austin, Texas
    MS-Off Ver
    2010
    Posts
    6

    macro to sort dynamic data

    "I have multiple files with different sheet names and varying # of rows.
    I need a macro that sorts the data by the header ""Contribution"" smallest to largest."

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,929

    Re: macro to sort dynamic data

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    04-02-2015
    Location
    Austin, Texas
    MS-Off Ver
    2010
    Posts
    6

    Re: macro to sort dynamic data

    My apologies. I did not know to include cross posts.
    http://excelexperts.com/macro-sort-dynamic-data
    http://www.mrexcel.com/forum/excel-q...amic-data.html

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,929

    Re: macro to sort dynamic data

    Ok. Do all sheets have the same number of columns? Is the field "Contribution" located in the same column in each of the worksheets? Do you wish to do this sort, sheet by sheet, or do you wish to have excel do them all at the same time? Lastly, if you wish for this to happen to all sheets, are all the sheets located in the same directory?

    These are all questions that determine how this code will be written.

+ 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. How to create macro to sort data in dynamic range
    By Luke82 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2013, 06:16 PM
  2. Macro to sort dynamic list into table
    By Andy748 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-17-2008, 08:13 PM
  3. A macro to sort a dynamic list
    By alis88 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-10-2008, 06:32 PM
  4. Dynamic Sort Macro
    By a94andwi in forum Excel General
    Replies: 13
    Last Post: 12-18-2006, 09:02 AM
  5. dynamic sort macro across 3 linked sheets
    By wrpalmer in forum Excel General
    Replies: 0
    Last Post: 12-10-2005, 10:17 PM

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