+ Reply to Thread
Results 1 to 7 of 7

Multiple Option Buttons in Userform

  1. #1
    Registered User
    Join Date
    06-09-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    5

    Multiple Option Buttons in Userform

    I am creating a survey type userform with multiple groups of Yes, No, N/A questions.

    With yes and no alone i can use

    If OptionButton1.Value = True Then
    Cells(emptyRow, 2).Value = yes"
    Else
    Cells(emptyRow, 2).Value = "no"
    End If

    but what would i use if i have 3 options?

    Thanks in advance for all the help

  2. #2
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Multiple Option Buttons in Userform

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Multiple Option Buttons in Userform

    Alternatively...

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Multiple Option Buttons in Userform

    Option buttons are TRUE/FALSE by nature so there is really only 2 options you have available with using 1 option button. As Poizhan eluded to, you could use multiple option buttons to give you more options (i.e. TRUE/TRUE, FALSE/FALSE, TRUE/FALSE, FALSE/TRUE). However, there are a lot many other (better) options available to you such as a combobox. If you still would like to use the option button then it might be best to use 3 buttons per survey (yes,no,n/a) and have it set to where you can only select one option. If you want help with code submit your workbook.

  5. #5
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Multiple Option Buttons in Userform

    Multiple option button groups is not ideal

  6. #6
    Registered User
    Join Date
    06-09-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    5

    Re: Multiple Option Buttons in Userform

    Thank you for all the help :D

  7. #7
    Registered User
    Join Date
    10-26-2017
    Location
    india
    MS-Off Ver
    2007
    Posts
    1

    Re: Multiple Option Buttons in Userform

    what if i use 4 radio button and i want to be upload selected data in specific excel cell

+ 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. [SOLVED] Option buttons and Image (userform)
    By kasharis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2014, 07:10 AM
  2. [SOLVED] Option Box buttons in UserForm help
    By motolich in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-28-2013, 12:04 AM
  3. [SOLVED] Multiple option buttons - Need VBA to disable second group of option buttns based on respo
    By ex123 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-19-2013, 03:30 AM
  4. How can I insert multiple sets of option buttons (radio buttons) in Excel 2010?
    By mickwooduclan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-25-2013, 10:01 AM
  5. Help with a option buttons located in a userform
    By mav93 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2006, 01:40 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