Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Keith
 
Posts: n/a
Default Automaticaly put in the / in a date field

I want my users to input a date in the format dd/mm/yy

I know some of them will mis out the separators and enter for example
140301 for the 14th March 2001, but Excel changes the date to something
totally different.

How can I create a mask (like in Access) so the separators are already
displayed in the cell? For example the cell would look like / / and
when the date is input it automatically jumps over the separator.
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

You could use a worksheet event that changes the entry to a date. Chip Pearson
has some code at:

http://www.cpearson.com/excel/DateTimeEntry.htm



Keith wrote:

I want my users to input a date in the format dd/mm/yy

I know some of them will mis out the separators and enter for example
140301 for the 14th March 2001, but Excel changes the date to something
totally different.

How can I create a mask (like in Access) so the separators are already
displayed in the cell? For example the cell would look like / / and
when the date is input it automatically jumps over the separator.


--

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
pivot table date field Spencer Hutton Excel Worksheet Functions 1 March 7th 05 04:07 PM
Convert 20050118 to a working date field Jessica Excel Worksheet Functions 7 February 23rd 05 10:07 PM
Validating a date field kenelder Excel Discussion (Misc queries) 2 February 16th 05 10:50 PM
Remove time from a date and time field? Format removes the displa. oaoboc Excel Worksheet Functions 1 February 16th 05 07:20 PM
How do I add a date field in a spreadsheet? Minimidge Excel Worksheet Functions 2 January 6th 05 04:57 PM


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