+ Reply to Thread
Results 1 to 19 of 19

ActiveX Check Box - Groups w Only one Value Allowed

  1. #1
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    ActiveX Check Box - Groups w Only one Value Allowed

    I am designing a form that will be used for new orders for my team, and I have a series of check boxes I need to create on the form. I have created ActiveX checkboxes, and assigned them to Groups through the Properties.

    But the groups are stil alllowing multiple values (boxes) to be selected.

    How do I set the groups so that only one value can be selected?
    Last edited by BrianFawcett; 06-14-2011 at 11:16 AM.

  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: ActiveX Check Box - Groups w Only one Value Allowed

    BrianFawcett,

    Welcome to the forum. For what you're describing I'd recommend using Option Buttons instead, since only 1 should be allowed to be selected at a time per group.

    ~tigeravatar

  3. #3
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    I looked into that but I was unable to reformat the Option Box, i.e. remove the text and border on the box.

    Is it possible to reformat the Option Box?

  4. #4
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    I really don't like that way that looks on my form.

    How do I set up the ActiveX controls the way I would like to.

  5. #5
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    Optionbuttons are designed to work the way you want; checkboxes are not. By using checkboxes in a way that users are unfamiliar with, you will be more likely to confuse them.

    Other than being round, there isn't really much difference in the look of the two so I'm not sure what you are having an issue with?
    Remember what the dormouse said
    Feed your head

  6. #6
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    Romperstomper,

    My issue is with the box itself. I have a form designed already and don't really want to mess with it too much.

    My issue is with the way the box looks. I don't want to see the box itself or the text that goes with it.

    Is there a way to do this?

  7. #7
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    Oh, I see - you mean the Frame/Group Box. You don't need that if you use the ActiveX versions - just set the GroupName property of all the optionbuttons you want grouped to the same thing (e.g. Group1, Group2 etc)

  8. #8
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    I was able to do that, but how do I set it up so that only one of the options can be chosen?

  9. #9
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    If you use Optionbuttons that is the default behaviour.

  10. #10
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    Romperstomper, I realize that I find myself it a catch-22 situation. The Option box does what I want but I don't like the look of it.

    The ActiveX looks right, but I cannot seem to get it to only choose one option.

    Which one of the issues is easier to resolve?

  11. #11
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    With the option buttons you do not need a box around them, as I said.

  12. #12
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    How do I get rid of the box??

  13. #13
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    Romperstomper,

    Maybe I am missing something, but if I use the options buttons without the Options Box, it does not limit me from choosing multiple items.

  14. #14
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    You have to set the GroupName property as I mentioned. See attached.
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    Thanks so much for your help.

  16. #16
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    Romperstomper, I have one follow up question. I have set up my boxes and the groups. What I want to do is set them so that no one them are chosen when you open the form. how do i do this?

  17. #17
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    In Design Mode you can set the value of all of them to False.

  18. #18
    Registered User
    Join Date
    06-13-2011
    Location
    Milford, CT USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    I have an unrelated Excel question.

    I have some fields on the report where I want the user to only be able to input certain formats (i.e. dates).

    How do I set this up?

  19. #19
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: ActiveX Check Box - Groups w Only one Value Allowed

    Can you post that as a separate question, please and please mark this thread as Solved?

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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