Closed Thread
Results 1 to 12 of 12

Radio Buttons Not Grouping

  1. #1
    Registered User
    Join Date
    01-10-2012
    Location
    Charlotte, NC
    MS-Off Ver
    2010 and 2013
    Posts
    7

    Question Radio Buttons Not Grouping

    Hi,

    I've been struggling with this issue for a few days, and I'm hoping the experts here can solve it for me.

    I'm building a spreadsheet that contains 20 - 30 questions about the condition of a home.

    For example, "Paint" would be classified as one of the following: "OK", "Needs Touch Up", or "New Paint Job".
    Same thing for "Carpet", "Appliances", and so on.

    I'm using radio button forms for each option, and using the control group to bunch them separately.

    The first three or four work as I would expect.

    Below that, the groupings don't seem to serve their purpose. In any of the next 20 questions, the option buttons function as if there is no grouping whatsoever. When in reality, each group is separated by a box. But I can only select one option of all the groups. It should be one PER group.

    Does that make sense? Any thoughts? Any other information you'd need to solve this problem?


    Thanks very much!!

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Radio Buttons Not Grouping

    bobmaucher,

    Welcome to the forum!

    Does this require radio buttons?
    If you're using the sheet directly, i'd suggest using a validation drop down list for each question instead of radio buttons.
    If you're using a userform, you can more easily group radio buttons/questions with the Frame control. Each frame would be a question, and then you'd put the desired radio buttons in the frame. (Though I'd still recommend using the sheet directly with data validation drop-down lists)
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Radio Buttons Not Grouping

    yes a sample workbook showing what's not working
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    01-10-2012
    Location
    Charlotte, NC
    MS-Off Ver
    2010 and 2013
    Posts
    7

    Re: Radio Buttons Not Grouping

    Thanks, tigeravatar!

    Does it require radio buttons? No. But someone will be using this form repeatedly (on an iPad), and I'm looking to minimize the number of times they touch it. It's just in the interest of efficiency. Radio button would require one "click", and validation drop down list would require two. Such a small difference, I know - but I'm just looking to make it as easy to use and efficient as possible. If you think the radio buttons really mess it up, then I'd consider getting rid of them.

    I am not using a userform, although I will consider it. Thanks for that suggestion. Best case, I can fix these option buttons. But if not, that's likely the way I'll go.

    Attached is a sample of what I'm trying to do. There will be formulas that calculate cost, based on which options are selected.
    Property Checklist Template.xlsm


    Thanks again!

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Radio Buttons Not Grouping

    the group boxes arent around the buttons you think they are, make all the rows bigger say about 2 inches nothing lines up

  6. #6
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Radio Buttons Not Grouping

    bobmaucher,

    Quote Originally Posted by bobmaucher View Post
    Does it require radio buttons? No. But someone will be using this form repeatedly (on an iPad), and I'm looking to minimize the number of times they touch it. It's just in the interest of efficiency. Radio button would require one "click", and validation drop down list would require two
    Since you know they'll be "clicking" instead of using a keyboard, and you only want one click per answer, you can use a selection_change event instead of radio buttons. Attached is a modified version of your workbook that does just that. It will put an X in the selected item. Here is the code it uses:
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    02-06-2017
    Location
    Maple Grove, Minnesota
    MS-Off Ver
    2010
    Posts
    15

    Re: Radio Buttons Not Grouping

    I am creating a checklist which has multiple plates and items to be considered for each plate. Each item is either “Required” or “N/A” for each plate. I have used the above macro but I can only manipulate the macro to work for one Plate. I would like for each plate used to have its own separate change selection (check box) for each item. What am I doing wrong here?
    Please let me know if you need any additional information.

  8. #8
    Registered User
    Join Date
    02-06-2017
    Location
    Maple Grove, Minnesota
    MS-Off Ver
    2010
    Posts
    15

    Re: Radio Buttons Not Grouping

    new to this whole site and figuring out how to attach my document.. Please stay tuned....

  9. #9
    Registered User
    Join Date
    02-06-2017
    Location
    Maple Grove, Minnesota
    MS-Off Ver
    2010
    Posts
    15

    Re: Radio Buttons Not Grouping

    I am creating a checklist which has multiple plates and items to be considered for each plate. Each item is either “Required” or “N/A” for each plate. I have used the above macro but I can only manipulate the macro to work for one Plate. I would like for each plate used to have its own separate change selection (check box) for each item. What am I doing wrong here?
    Please let me know if you need any additional information.

    Here we go. Please see attached...
    Attached Files Attached Files
    Last edited by TylerM02; 02-10-2017 at 12:32 PM.

  10. #10
    Registered User
    Join Date
    02-06-2017
    Location
    Maple Grove, Minnesota
    MS-Off Ver
    2010
    Posts
    15

    Re: Radio Buttons Not Grouping

    To expand a little from my post above. I currently have Columns V and W Rows 41-49 and 55-99, as a check box "Selection Change", macro from tigeravatar above. I would like Y:Z, AB:AC, AE:AF, AH:AI, AK:AL and AN:AO to have their own set of check box (selections). I like the selection change as you can only select one or the other and would like to continue that for the additional Plates found in Row 32 (V, Y, AB, AE, AH, AK and AN). I plan on adding in a formula where if any of these plates/items are selected, each topic (found in column AR) must have either "Required" or "N/A" selected. If it makes more sense to structure the spreadsheet differently, I am open to suggestions. I used to be involved in the excel community but I have not used macros/VBAs for about 9 years now and I am a little out of shape.

  11. #11
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Radio Buttons Not Grouping

    Hello TylerM02,

    Welcome to the forum!
    I believe something like this is what you're looking for:
    Please Login or Register  to view this content.

  12. #12
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Radio Buttons Not Grouping

    Quote Originally Posted by TylerM02 View Post
    I am creating a checklist
    TylerM02, welcome to the forum, but we do not allow new questions to be posted in a thread. If you have a new question, please start a new thread.

    tigeravatar, at the Guru level please help us remind members of the rules.

    Because this thread is old I am going to close it.

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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