Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Another Userform question.


I have a textbox on a userform in which the date is entered, in dd/mm/yy
format.

When it is shown in a cell in the spreadsheet, it shows as mm/dd/yy.

Is there anyway of getting it to appear in the cell as typed?

I have tried to change the formatting but this does not work.


--
ingleg
------------------------------------------------------------------------
ingleg's Profile: http://www.excelforum.com/member.php...o&userid=33037
View this thread: http://www.excelforum.com/showthread...hreadid=558819

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Another Userform question.

When a user types 01/02/03, do they mean Jan 2, 2003 or Feb 1, 2003 or....

Entering dates in an ambiguous format can sometimes result in the wrong dates.

You may want to drop the textbox and use a calendar control:

Ron de Bruin has some tips/links at:
http://www.rondebruin.nl/calendar.htm


Or use three different controls (one for the month, day and year) to get the
date.

ingleg wrote:

I have a textbox on a userform in which the date is entered, in dd/mm/yy
format.

When it is shown in a cell in the spreadsheet, it shows as mm/dd/yy.

Is there anyway of getting it to appear in the cell as typed?

I have tried to change the formatting but this does not work.

--
ingleg
------------------------------------------------------------------------
ingleg's Profile: http://www.excelforum.com/member.php...o&userid=33037
View this thread: http://www.excelforum.com/showthread...hreadid=558819


--

Dave Peterson
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
Userform and variables Jeff Excel Discussion (Misc queries) 1 May 24th 06 02:20 PM
Anybody Help with previous question Anthony Excel Discussion (Misc queries) 1 July 26th 05 01:26 PM
Userform question Greg B Excel Discussion (Misc queries) 1 May 13th 05 01:06 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Userform Question Greg B Excel Discussion (Misc queries) 3 March 10th 05 10:46 AM


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