+ Reply to Thread
Results 1 to 5 of 5

Form Controls

  1. #1
    Registered User
    Join Date
    04-21-2014
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    5

    Form Controls

    Hello.

    I was using option buttons for form controls and I noticed I was running into an issue: I have 6 buttons and I want to set it so only one button can be selected; however, I notice that there are often two buttons that can be selected when I tested them. How can I set them so only 1 can be selected? I deleted them and re-added them and still run into the same problem. what am I doing wrong?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Form Controls

    Hi J-Ry,

    Try putting the option buttons inside a 'Group Box'.

    If that works then do the following to hide the group box (permanent fix - needs to be done one time only):
    a. Press Allt-F11 to get to the VBE.
    b. Press Ctrl-g to see the immediate window.
    c. Type in the following in the immediate window (or cut and paste from here) and Press 'Enter':
    Please Login or Register  to view this content.
    d. Save the workbook.

    Lewis

  3. #3
    Registered User
    Join Date
    04-21-2014
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Form Controls

    Thanks! I actually did have the buttons in a group box. I was going to copy them into a new worksheet to take a screen cap and when I pasted them they worked as did the original buttons I copied. I find it odd that they worked after copying/pasting but I'm still not sure why they didn't work in the first place. Does the group box define them as supposed to work so only one can be selected, despite the number of buttons created?

  4. #4
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Form Controls

    Does the group box define them as supposed to work so only one can be selected, despite the number of buttons created?
    Yes, to the best of my knowledge. I created 10 Option Buttons (Forms Controls) and grouped them into sets of 2, 2, and 6. In each group only 1 Option Button was allowed to be activated at a time.

    Lewis

  5. #5
    Registered User
    Join Date
    04-21-2014
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Form Controls

    Thanks. Maybe it was a glitch I encountered and copying/pasting reset the parameters so only one would operate.

+ 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. Form Controls / Active X controls to record and log information in a seperate sheet
    By marcbarnett in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-09-2014, 05:00 AM
  2. Replies: 1
    Last Post: 05-01-2014, 05:15 PM
  3. Form controls vs. ActiveX controls
    By wmorrison49 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2008, 10:59 AM
  4. Form Controls vs VBA controls
    By cmpcwil2 in forum Excel General
    Replies: 1
    Last Post: 04-19-2006, 10:55 AM
  5. ActiveX Controls vs Form Controls
    By Alex in forum Excel General
    Replies: 1
    Last Post: 01-11-2006, 04:50 AM

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