+ Reply to Thread
Results 1 to 5 of 5

Check Boxes

  1. #1
    Registered User
    Join Date
    07-15-2008
    Location
    Winnipeg
    Posts
    3

    Check Boxes

    I need help,

    I have multiple check boxes and i want the user to only be able to select one check box (when one is checked all others are unchecked). I also need a cell to hold a value based on which check box is checked.

    Thank you

  2. #2
    Forum Contributor ptm0412's Avatar
    Join Date
    04-16-2008
    Location
    Vietnam
    MS-Off Ver
    Office 2003 and 2007
    Posts
    129
    1. To force only one to be check: Surround all checkboxes with a Groupbox, a control found in tool bar Form.
    2. To have the value based on which checkbox is checked:
    - give the Property Linked cell of Each checkbox to a cell such as A1, then A2 for next one, ... (A1:A5 for 5 checkboxes)
    - In B1: B1=Match(A1:A5,TRUE,0)

  3. #3
    Registered User
    Join Date
    07-15-2008
    Location
    Winnipeg
    Posts
    3
    Thank you,

    The second part works great but it still wont force only one box to be checked.

  4. #4
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    Why dont you try using Radio Button... by default when u select one other will be deselected.


    -Click on View -> Toolbar ->form.
    -From form toolbar select and create 4 to 5 radio button
    -now right click any one radio button , select format control. Click on the last tab Control , U will see a filed called Cell link... Type eg. A1.

    Now test your radio , you will see that when u select first radio button cell A1 show 1 when u select second radio button it show 2 and so on..
    Last edited by Shijesh Kumar; 07-15-2008 at 01:42 PM.

  5. #5
    Registered User
    Join Date
    07-15-2008
    Location
    Winnipeg
    Posts
    3
    Excellent! Everything is working perfect, thanks for all the help.

+ 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