+ Reply to Thread
Results 1 to 2 of 2

Using A Macro to Sort based upon a cell value

  1. #1
    Registered User
    Join Date
    09-04-2007
    Posts
    67

    Using A Macro to Sort based upon a cell value

    I am using a table to select a value. Either 1,2,3,4,5,6,7,8,9,10.
    Then based upon what value is how I would sort 7000 lines (rows) of data. There are 5-6 columns. I have a macro that I can use to sort depending on which value but I was hoping that It would do it automatically.

    Like if I had selected 3 then it would sort first on column C.

    Right now I can manually select a macro that I have but to do this automatically would be great.

    I have a huge list that It would be easier to find an item if I first sorted based upon a criteria.

    Something like: If C=1 then run macro 1, If C=2 then run macro 2, etc...

    Thanks - I have came along way so far. Thought to automate would be nice.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Can you post what you have? I'm not sure why you need multiple macros.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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