+ Reply to Thread
Results 1 to 2 of 2

Sorting Validation

  1. #1
    Marten
    Guest

    Sorting Validation

    I have a dynamic validation list new entries will be entered here
    continuously, but what i want is the drop down list to come sorted
    alphabetically also when the linked list is no longer alphabetical? Could
    anybody help?

    Thanks
    Marten

  2. #2
    Jim Cone
    Guest

    Re: Sorting Validation

    Marten,

    If your list of entries is a named range, then new entries inserted into it
    will automatically adjust the range. So if your Validation list cell was "E5"
    and the list was named "MyList" then the following event code in the
    sheet module might do what you want...

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If Target.Address = "$E$5" Then Range("MyList").Sort Range("MyList")
    End Sub
    --
    Jim Cone
    San Francisco, USA
    http://www.realezsites.com/bus/primitivesoftware



    "Marten"
    <[email protected]>
    wrote in message
    I have a dynamic validation list new entries will be entered here
    continuously, but what i want is the drop down list to come sorted
    alphabetically also when the linked list is no longer alphabetical? Could
    anybody help?

    Thanks
    Marten

+ 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