+ Reply to Thread
Results 1 to 2 of 2

Auto Sorting based upon 3 columns? (Mac 2004)

  1. #1
    Registered User
    Join Date
    10-01-2008
    Location
    Chicago Suburbia
    Posts
    5

    Auto Sorting based upon 3 columns? (Mac 2004)

    Hello all,

    I am a pretty big n00b when it comes to Excel, so bear with me here. I am on Mac OS X, and we are running Office 2004.

    I work for a magazine publisher, and need to keep track of who we charge when they send in an ad wrong. Basically, I have a workbook with 4 sheets. Each one is basically the same thing, just with different categories (Decor, Industrial, Salon, Food 360) -- but still need to be auto sorted and updated dynamically. Column A is the name of the publication, column B is the issue date, column C is the name of the advertiser, and there are 5 more columns that are also in the sheets that I don't need sorted.

    What I have filled in each is just fake info and just to get things working.

    What I want done, is basically an automatic version of what happens when I hit "Sort": I have made a macro of this, and figured I could automatically have the macro run any time I add/change a new row/info. This macro looks like this:

    Please Login or Register  to view this content.
    My questions is, how do I do this so that each sheet, when adding a new row of info, will dynamically and automatically sort alphabetically/numerically like that "Sort" macro?
    Hope this makes sense! It's been driving me nuts!!!

    Thanks in advance,
    Josh

  2. #2
    Registered User
    Join Date
    10-01-2008
    Location
    Chicago Suburbia
    Posts
    5
    Well, I figured it out... This only took about 4-1/2 hours... LOL! I used this code on each Worksheet in the VBR editor:

    Please Login or Register  to view this content.
    And with this Macro:

    Please Login or Register  to view this content.
    This seems to work, and it now autosorts dynamically based upon mainly the first column (publication name), followed by the second column (date), then the third column (advertiser name).

    Hopefully this can help any others in the future.

+ 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 based on corresponding cell
    By bcr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-19-2008, 12:38 PM
  2. Sorting A Range based upon one row
    By jhovey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-27-2008, 04:57 PM
  3. Max Value Based on Conditions
    By gav0101 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-26-2008, 10:03 AM
  4. Sum columns based on 3 criteria, where the column summed is dynamic!
    By bdance in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2007, 03:22 AM
  5. Macro to hide columns based on contents of two cells
    By Korae13 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-18-2006, 12:40 AM

Tags for this Thread

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