Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default Want current date to autopopulate a textbox


How do I make the current date autopopulate in a textbox in my userform?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Want current date to autopopulate a textbox


Hi Bishop

Try the below. You can choose the event..to suit your requirement

Private Sub UserForm_Activate()
Me.TextBox1 = Format(Date, "dd-mmm-yyyy")
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Bishop" wrote:

How do I make the current date autopopulate in a textbox in my userform?

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
Name of Current TextBox on Userform dunnerca Excel Programming 2 December 24th 07 02:46 AM
How to force selection of all current text in textbox control onentry? Chrisso Excel Programming 2 November 25th 07 09:55 PM
Can I automatically enter the current date or current time into a Ben New Users to Excel 7 October 19th 05 03:38 PM
autopopulate date [email protected] Excel Discussion (Misc queries) 8 October 6th 05 03:29 PM
textbox setfocus and select current contents rcmodelr Excel Programming 3 August 15th 05 02:05 PM


All times are GMT +1. The time now is 03:49 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"