+ Reply to Thread
Results 1 to 3 of 3

Sort in descending order

  1. #1
    Registered User
    Join Date
    03-26-2007
    Posts
    63

    Sort in descending order

    Hi,

    I have a userform that is capturing scores for different students. I need to make it such like as and when user clicks on “Save” button. He will get a Mesgbox showing the name and score of each student in descending order basis score.

    Viz… Marks entered in textboxs are 56,89,69,98,78

    Then the result shows as :

    <Name of Candidate1> 98
    <Name of Candidate2> 89
    <Name of Candidate3> 78
    <Name of Candidate4> 68
    <Name of Candidate5> 56

    Later the result will get store in worksheet.


    Please help…

    Regards,
    Shane
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Try this code

    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    03-26-2007
    Posts
    63

    Solved .... Thanks a lot

    Hi Mudraker,

    Thanks a lot.... It did the trick....

    Regards,
    Shane

+ 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