Hi folks
I have a simple UserForm which has 3 checkboxes.
Checkboxes labelled "Good" , "Average" and "Bad"
When "Good" is checked, the value "1" is entered into a cell. If "Average" is checked then the value "0.5" is entered and "0" is entered when "Bad" is checked.
The problem is this......I need all 3 checkboxes to be clear when I open up the UserForm. But when I add in a line of code to clear the checkbox it also enters the 1 or 0.5 or 0.
How do I check a box, get the data entered into the cell I want, and then uncheck that same box without writing any further data?
Thanks
I have a simple UserForm which has 3 checkboxes.
Checkboxes labelled "Good" , "Average" and "Bad"
When "Good" is checked, the value "1" is entered into a cell. If "Average" is checked then the value "0.5" is entered and "0" is entered when "Bad" is checked.
The problem is this......I need all 3 checkboxes to be clear when I open up the UserForm. But when I add in a line of code to clear the checkbox it also enters the 1 or 0.5 or 0.
How do I check a box, get the data entered into the cell I want, and then uncheck that same box without writing any further data?
Thanks
Code:
Private Sub CheckBox14_Click()With Sheets("RawData").Select
Range("E65536").End(xlUp).Offset(1, 0).Select
ActiveCell.Value = "1"
Sheets("Home").Select
Range("A1").Select
End With
End Sub