To automatically store current date in a text box

shandoo27

Registered User.
Local time
Today, 00:05
Joined
May 20, 2010
Messages
30
I have a text box which is validated to store date. I want to automatically store the current date when the textbox is unlocked. Is it possible ? If so please help me with the VBA code.
 
Not sure what you mean by "when the textbox is unlocked". Normally I'd say use a default value of Date(). If you're unlocking it in code, then the next line would be:

Me.TextBoxName = Date()
 
thanks for the reply. This is what I wanted.
-shandoo
 

Users who are viewing this thread

Back
Top Bottom