Greetings,
I am trying to write a code that will automatically display the current date in a form when that form is opened. The following is the code I have so far and I have to click in the textbox and press a key for the date to be displayed which is not what I want.
Any suggestions?
I am trying to write a code that will automatically display the current date in a form when that form is opened. The following is the code I have so far and I have to click in the textbox and press a key for the date to be displayed which is not what I want.
Code:
Private Sub TextBox1_initialize()
'Date
TextBox1 = Date
End Sub
Any suggestions?