+ Reply to Thread
Results 1 to 4 of 4

auto sort

  1. #1
    Registered User
    Join Date
    03-12-2007
    Posts
    2

    auto sort

    I have a fairly simple spreadsheet, with the main columns being name, surname, date & notes.

    I'm wondering if there is any way to set it to automatically sort into alphabetical order by surname, whenever a new entry is made?

    Any help would be appreciated.

    Thanks

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Turn on your macro recorder ...
    go through the steps required to sort your worksheet
    See how VBA has coded your actions ...

    To get this macro to run automatically, add an event macro in your worksheet
    module ...
    Please Login or Register  to view this content.
    HTH
    Carim


    Top Excel Links

  3. #3
    Registered User
    Join Date
    03-12-2007
    Posts
    2
    Thanks... I've managed to record the macro etc, but my Excel knowledge is seriously limited (hence why I'm here!)... how/where do I add the thing to make it run automatically?

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    The private sub is an event macro to be stored in the worksheet module ...
    Go to worksheet tab
    right click
    select view code
    copy code ...

+ 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