checkbox

  • Thread starter Thread starter mark
  • Start date Start date
M

mark

what would the code be to make a checkbox when it is
checked it would put the number 2 into a cell
 
try this


Private Sub CheckBox1_Click()


If CheckBox1.Value = True Then
Range("A1") = "2"
Else
Range("A1") = ""
End If


End Sub
 
Back
Top