Text Box to Enter Date

B

Bob

IF Text Box [tbA] is to have today's date entered into it , if Text Box
[tbB] has any text entered into it......What code do I need for [tbA] in
after update.......Thanks for any help,................Bob
 
B

Bob

Oops figured it out sorry,
If tbA.value = "" Or IsNull(tbA.value) Then
tbA.value = Format(Now, "dd-mmm-yy")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top