Dim Score As Byte
Dim Teller As Byte
Sub CommandButton1_ Click()
If Teller < 3 Then
If Me.CheckBox1.Va lue = False Then
Me.CommandButto n6.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n5.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n4.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n3.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n2.Caption = (Int(Rnd * 6) + 1)
End If
Teller = Teller + 1
End If
End Sub
Sub CheckBox1_Click ()
If Me.CheckBox1.Va lue = False Then
Me.CommandButto n6.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n5.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n4.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n3.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n2.Caption = (Int(Rnd * 6) + 1)
End If
End Sub
Sub Label1_Click()
If CommandButton6 = 1 Then Score = Score + 1
If CommandButton5 = 1 Then Score = Score + 1
If CommandButton4 = 1 Then Score = Score + 1
If CommandButton3 = 1 Then Score = Score + 1
If CommandButton2 = 1 Then Score = Score + 1
Me.TextBox1.Val ue = Score
Teller = 0
End Sub
Dim Teller As Byte
Sub CommandButton1_ Click()
If Teller < 3 Then
If Me.CheckBox1.Va lue = False Then
Me.CommandButto n6.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n5.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n4.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n3.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n2.Caption = (Int(Rnd * 6) + 1)
End If
Teller = Teller + 1
End If
End Sub
Sub CheckBox1_Click ()
If Me.CheckBox1.Va lue = False Then
Me.CommandButto n6.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n5.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n4.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n3.Caption = (Int(Rnd * 6) + 1)
Me.CommandButto n2.Caption = (Int(Rnd * 6) + 1)
End If
End Sub
Sub Label1_Click()
If CommandButton6 = 1 Then Score = Score + 1
If CommandButton5 = 1 Then Score = Score + 1
If CommandButton4 = 1 Then Score = Score + 1
If CommandButton3 = 1 Then Score = Score + 1
If CommandButton2 = 1 Then Score = Score + 1
Me.TextBox1.Val ue = Score
Teller = 0
End Sub
Comment