LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Textbox Date formatting problem

I am a new user so the answer may be very simple. I have looked through the
various threads and haven't found this problem.

I have created a userform with a textbox for inputting a date. However,
when I launch the form and start entering the date it defaults to some wrong
date and will not allow me to enter the correct date. This seems pretty
strait forward but I cant seem to get my date input field to work properly.
Any suggestions?

This is the code I am using.

Private Sub Tb_Date_Change()

Tb_Date.Value = Format(Date,"dd-mmm-yyyy")

End Sub




 
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
Date Formatting Problem John Calder New Users to Excel 3 August 12th 09 12:22 AM
Textbox date formatting capt Excel Discussion (Misc queries) 14 January 2nd 08 10:02 AM
Date formatting problem greg7468 Excel Discussion (Misc queries) 4 July 7th 05 09:44 PM
Problem with Date Formatting The Data Detective Excel Discussion (Misc queries) 0 March 30th 05 12:57 AM
Userform Textbox - Date Problem universal[_6_] Excel Programming 2 November 26th 03 04:31 PM


All times are GMT +1. The time now is 05:33 PM.

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

About Us

"It's about Microsoft Excel"