+ Reply to Thread
Results 1 to 5 of 5

Sorting check Boxes in alphabetical order

  1. #1
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,230

    Sorting check Boxes in alphabetical order

    Hi All

    Been searching to no avail....How can one sort checkboxes with labels in alphabetical order. Pls see uploaded sample.
    Attached Files Attached Files
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Sorting check Boxes in alphabetical order

    Hello Mr. Sintek
    What about using the sort feature in excel? Does it work for you?
    Select the range("A1:B4") >> Sort from Data tab A to Z >> sort by column B
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,230

    Re: Sorting check Boxes in alphabetical order

    Hi YasserKhalil

    Just realised that the CheckBoxes must be same name as cell then this code will work....Sort feature was not working as this was not done...
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Sorting check Boxes in alphabetical order

    Glad you can solve it ..
    Here's my try
    Please Login or Register  to view this content.
    As for your code you used if in this line
    Please Login or Register  to view this content.
    and in your sample workbook the name of the checkboxes will not be the same as the cell value >> or you have changed the name manually for each checkbox

  5. #5
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,230

    Re: Sorting check Boxes in alphabetical order

    Yep, was gonna change manually but decide to do this way instead...

    Please Login or Register  to view this content.

+ 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. sorting letters in words into alphabetical order
    By bobf in forum Excel General
    Replies: 10
    Last Post: 10-10-2022, 01:31 AM
  2. Sorting an array of strings into alphabetical order
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-05-2015, 01:29 AM
  3. Sorting a table into alphabetical order?
    By elliottt in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-21-2014, 12:57 PM
  4. Automatically sorting in to alphabetical order
    By macky18 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-15-2013, 07:45 AM
  5. Sorting the alphabetical order with semicolon in each cell.
    By spiderkzn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2012, 09:55 AM
  6. [SOLVED] Sorting Colums into alphabetical order
    By tox in forum Excel General
    Replies: 3
    Last Post: 02-22-2005, 12:06 PM
  7. Sorting rows into alphabetical order?
    By tox in forum Excel General
    Replies: 8
    Last Post: 02-04-2005, 07:08 PM

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