Consulting

Results 1 to 3 of 3

Thread: Solved: Question on Option Buttons on Forms vs Control

  1. #1
    VBAX Regular
    Joined
    May 2007
    Posts
    23
    Location

    Solved: Question on Option Buttons on Forms vs Control

    When I group option buttons together using the forms toolbox and tie it to a cell the output is an integer 1,2, etc depending on how many option buttons are in the group.
    If I do the same thing with the controls toolbox the output is true or false for each of the option buttons. I can write a line that will give me a number output for each one but it seems odd they give different outputs for essentially the same button.
    Also is there a way to "group" option buttons from the controls toolbox? I am using the forms toolbox to form a group and don't see anything that allows it in controls toolbox?
    Thanks

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    They are different controls, probably developed by different areas of MS, so they work differently. Not good, but not surprising.

    The control toolbox controls have properties that can be accessed. Go to design mode and double-click the control, you will be taken into teh VBIDE with the control in focus, and you can set the properties there, including the Group property.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Regular
    Joined
    May 2007
    Posts
    23
    Location
    Thanks for the quick reply. I was thinking it may be that and not just my vast ignorance of VBA! I can certainly work around it but didn't want to do so if it was just something I didn't know about on forms vs controls. Thanks for taking the time to educate!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •