I have a userform with a checkbox and textbox. What I wanted to do is check the box to complete the record for an update. When I check it the NOW() function is setting my time to 12:00AM. What am I doing wrong in my code ?
Private Sub CheckBox1_Click()
If UserForm1.CheckBox1.Value = True Then
TextBox6.Value = Now()
Else
TextBox6.Value = ""
End If
End Sub
If I had +(7/24) after NOW the date and time will populate to my sheet. If I do not have that extra it will not update my sheet with the date/time. I am at a loss for it not updating. I have built similar workbooks in the past with an update command. The only difference is the checkbox.
Private Sub CheckBox1_Click()
If UserForm1.CheckBox1.Value = True Then
TextBox6.Value = Now()
Else
TextBox6.Value = ""
End If
End Sub
If I had +(7/24) after NOW the date and time will populate to my sheet. If I do not have that extra it will not update my sheet with the date/time. I am at a loss for it not updating. I have built similar workbooks in the past with an update command. The only difference is the checkbox.