Default text in user form

P

PaddyOz

Hi,
I 've set up a user form with text boxes that return text to bookmarks in a
fax template. How can I have default text placed in some of these text
boxes, such as today's date, so a user doesn't have to fill that box in
unless he wants to change the date.
Thanks in advance
Paddy
 
G

Greg Maxey

PaddyOz,

Something like:

Private Sub UserForm_Initialize()
Me.TextBox1.Text = Date
End Sub
 

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