Results 1 to 3 of 3

Thread: for i = 1 to 300 optionbutton(i) = false next???

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Location
    The Netherlands
    Posts
    26

    Post

    How do I get this working when I have a couple of hundred optionboxes?

    Can anyone help??

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

    Post

    If you want just to reset all OptionBoxes you could use this:
    Code:
    Private Sub Command1_Click()
        For Each Control In Me
            If TypeOf Control Is OptionButton Then Control.Value = False
        Next
    End Sub
    ------------------
    Visual Basic Programmer (at least I want to be one)
    ------------------
    PolComSoft
    You will hear a lot about it.


  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Location
    The Netherlands
    Posts
    26

    Post

    I want to check them each and link a make a specific cell 1 or 0 when the optioin button is true.

Posting Permissions

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



Click Here to Expand Forum to Full Width