ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Entering dates (https://www.excelbanter.com/excel-discussion-misc-queries/72723-entering-dates.html)

Hoddros

Entering dates
 
I am trying to set up a timetable spreadsheet that will allow users to enter
the time as 4 digits and then Excel converts this automatically to the
correct time: for example 1630 would be 16:30. It would make the data entry
so much quicker than having to enter the colon every time. Can this be done
please?

Dave Peterson

Entering dates
 
Chip Pearson has some code that may help you:
http://cpearson.com/excel/DateTimeEntry.htm

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Hoddros wrote:

I am trying to set up a timetable spreadsheet that will allow users to enter
the time as 4 digits and then Excel converts this automatically to the
correct time: for example 1630 would be 16:30. It would make the data entry
so much quicker than having to enter the colon every time. Can this be done
please?


--

Dave Peterson


All times are GMT +1. The time now is 08:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com