narsing rao
Member
Hi Forum,
i am trying to add date & time to textbox, i have created a userform with combo box and text box in one of the textbox i am trying to display date & time but its not happening.
and also tried
but non of them are working.
i am trying to add date & time to textbox, i have created a userform with combo box and text box in one of the textbox i am trying to display date & time but its not happening.
Code:
datebox.Value = Format(Now(), "mm/dd/yyyy hh:mm:ss")
and also tried
Code:
Private Sub UserForm_Initialize()
datebox.Value = Format(Now(), "mm/dd/yyyy hh:mm:ss")
end sub
but non of them are working.
Last edited: