G
Guest
I have the following code in a macro for a checkbox and it gives a error of
object required any suggestions?
Private Sub CheckBox19_Click()
If CheckBox19.Value = True Then
Range("I24").Select
ActiveCell.FormulaR1C1 = "=0.07*R[-1]C"
Else: Range("I24").Select
Selection.Value = 0
End If
End Sub
object required any suggestions?
Private Sub CheckBox19_Click()
If CheckBox19.Value = True Then
Range("I24").Select
ActiveCell.FormulaR1C1 = "=0.07*R[-1]C"
Else: Range("I24").Select
Selection.Value = 0
End If
End Sub