Hi,
Need help on the below code, it is giving me a runtime error 424, how should this code be fixed?
Thanks for the help!
splucena
Need help on the below code, it is giving me a runtime error 424, how should this code be fixed?
Code:
Private Sub CommandButton1_Click()
If Target.Column = 3 Then
Target.Offset(0, 31) = UserForm1.TextBox1.Value
Target.Offset(0, 32).Value = UserForm1.TextBox2.Value
Target.Offset(0, 33).Value = UserForm1.TextBox3.Value
Target.Offset(0, 35).Value = UserForm1.TextBox4.Value
End If
UserForm1.Hide
End Sub
Thanks for the help!
splucena