+ Reply to Thread
Results 1 to 4 of 4

UserForm Button to Sort a Column

  1. #1
    Registered User
    Join Date
    06-25-2016
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    29

    UserForm Button to Sort a Column

    Hi there,

    Can any one help me to filer/sort a table based on option button and search criteria, I have attached the excel sheet for your reference.
    I have also appended a code which i got form a source, which is not working in this sheet. If you have a simple version, that will be good.

    Regards/Aju
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: UserForm Button to Sort a Column

    In this no option buttons, no command button
    the columnheaders are both

    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-25-2016
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    29

    Re: UserForm Button to Sort a Column

    Thanks for the quick fix Leo, but I would require multiple sort, better to get it on a click of button.

    Regards/Aju

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: UserForm Button to Sort a Column

    Hello Aju,

    The attached workbook has the macros shown below added to it.

    Module1 Macro Code
    Please Login or Register  to view this content.
    CommandButton21 Code
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. Replies: 1
    Last Post: 01-31-2016, 05:54 AM
  2. Sort userform list based on option button selection
    By jprlimey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2015, 10:47 AM
  3. sort button - how to sort large range in boxes
    By jw01 in forum Excel General
    Replies: 2
    Last Post: 03-06-2012, 09:35 PM
  4. Sort by column heading - button
    By srengdahl in forum Excel General
    Replies: 1
    Last Post: 11-02-2010, 11:05 AM
  5. Sort Button to Sort a Column?
    By widow in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-03-2006, 09:35 PM
  6. Sort Button to sort a column?
    By widow in forum Excel General
    Replies: 1
    Last Post: 11-03-2006, 09:33 PM
  7. Sort a multi column listbox in userform
    By Martin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2005, 05:05 PM

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