Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default textbox on form

Hi,
I have a userform with a number of text boxes on it for
the user to complete. One of the fields is a date field.
What I want is when the form is loaded the field called
date will automatically insert today's date.
Thanks for your help.
Glenn Robertson
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default textbox on form

Hi Glenn.

Try this

TextBox99.Text = Foramt(Date,"dd mmm yyyy")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Glenn Robertson" wrote in message
...
Hi,
I have a userform with a number of text boxes on it for
the user to complete. One of the fields is a date field.
What I want is when the form is loaded the field called
date will automatically insert today's date.
Thanks for your help.
Glenn Robertson



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Textbox on a Form to Deafault John Calder New Users to Excel 7 July 28th 09 01:39 AM
end down option in a textbox of a form DTGvet Excel Discussion (Misc queries) 1 June 15th 06 02:01 PM
User Form in VB = TextBox Kel Excel Discussion (Misc queries) 1 August 11th 05 12:26 AM
Text to Form Textbox and back Pat[_11_] Excel Programming 5 January 19th 04 04:10 PM
Multiple colours in a Textbox on a Form. Spaceman Excel Programming 1 October 1st 03 05:22 AM


All times are GMT +1. The time now is 06:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"