Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DOMINIC JOSLIN
 
Posts: n/a
Default Entering dates QUICKLY

How do I enter dates without using the / key. Eg 071004 instead of 07/10/04
(this could of course be any date). I have seen applications set up this
way, but I have not been able to find a reference to how it is done. Any
ideas?


  #2   Report Post  
Niek Otten
 
Posts: n/a
Default

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

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"DOMINIC JOSLIN" wrote in message
...
How do I enter dates without using the / key. Eg 071004 instead of
07/10/04 (this could of course be any date). I have seen applications set
up this way, but I have not been able to find a reference to how it is
done. Any ideas?



  #3   Report Post  
Ben McBen
 
Posts: n/a
Default

Hi Dominic


there is probably an eay way to do this - but I dont know
it. However two alternatice approaches.

1. Use an adjacent cell to parse the input and generate a
valid date. eg

=DATEVALUE(LEFT(F16,2) &"/" & MID(F16,3,2) &"/" & RIGHT
(F16,4))

where F16 contains a DDMMYYYY "date" input.

2. Use the worksheet change event: You need to stop it
going into an endless loop. this is done by turning off
events while processing the change:

Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next

Application.EnableEvents = False

If Target.Column = "3" And Target.Value2 < "" Then

Target.Value = DateValue(Left(Target.Value2, 2) & "/"
& Mid(Target.Value2, 3, 2) & "/" & Right(Target.Value2, 4))

End If

Application.EnableEvents = True


End Sub






  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

Dominic,

There is an addin called QDE (Quick Date Entry), could be just what you want
:-)
http://www.xldynamic.com/source/xld.QDEDownload.html

--

HTH

RP
(remove nothere from the email address if mailing direct)


"DOMINIC JOSLIN" wrote in message
...
How do I enter dates without using the / key. Eg 071004 instead of

07/10/04
(this could of course be any date). I have seen applications set up this
way, but I have not been able to find a reference to how it is done. Any
ideas?




  #5   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
use the following addin:
http://www.xldynamic.com/source/xld.QDEDownload.html

--
Regards
Frank Kabel
Frankfurt, Germany

"DOMINIC JOSLIN" schrieb im Newsbeitrag
...
How do I enter dates without using the / key. Eg 071004 instead of

07/10/04
(this could of course be any date). I have seen applications set up

this
way, but I have not been able to find a reference to how it is done.

Any
ideas?



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
grouping dates by week/month/etc. on cat. axis Kamal Hood Charts and Charting in Excel 4 January 23rd 05 10:06 AM
Ploting dates against a calendar and not as a simple events Barb Reinhardt Charts and Charting in Excel 2 January 22nd 05 02:41 AM
Dates pjd Excel Discussion (Misc queries) 3 December 8th 04 03:44 AM
How do I import fractions without data being converted to dates? rproeber Excel Discussion (Misc queries) 1 December 6th 04 12:53 AM
Dates in spreadsheets Robert Newman Excel Discussion (Misc queries) 2 December 2nd 04 10:03 AM


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