Entering Time without the colon.......

S

SCExcel

I would like for a user to enter a time without the colon, for example, 1045, and have it appear in the cell as 10:45. Is this possible?
 
P

Peo Sjoblom

See:

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

it takes VBA

A non macro solution would be to use the numpad and temporary change
autocorrect
.. (period) to : (colon) that way you can use your right hand to type
with

--

Regards,

Peo Sjoblom

SCExcel said:
I would like for a user to enter a time without the colon, for example,
1045, and have it appear in the cell as 10:45. Is this possible?
 
C

CLR

Right-click on the cell(s) > Format Cells > Custom > type ##":"## in
the window > ok

Vaya con Dios,
Chuck, CABGx3



SCExcel said:
I would like for a user to enter a time without the colon, for example,
1045, and have it appear in the cell as 10:45. Is this possible?
 
P

Peo Sjoblom

Hi Charles,

it will only change the display, the underlying value would still be one
1,045
 
S

SCExcel

Thank you.......

----- CLR wrote: -----

Right-click on the cell(s) > Format Cells > Custom > type ##":"## in
the window > ok

Vaya con Dios,
Chuck, CABGx3



SCExcel said:
I would like for a user to enter a time without the colon, for example,
1045, and have it appear in the cell as 10:45. Is this possible?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top