Input Time in AM/PM

U

ub

Hi
:
: I want the user to input time in one of the cells in 12 hrs format.
: Example, user should only be able to enter 11:00 am or 11:00 pm.
: Is there any way to do this.
:
: Thanks
 
J

Jim Thomlinson

Your question does not make sense? Are you saying that you want to restrict
the input to even hourly increments or does it have to do with entering the
AM/PM or ???
 
G

Gary''s Student

I hope this is not a trick question!

Just type 11:00 pm

must include the single space prior to the pm (or am)
 
S

Satti Charvak

Hi Ub,

I guess you wanted to ask the question a user should be able to enter time
in 12 hour format with am/pm and not in 24hr format..Isn't it.

If this was what you wanted, then please note that if you format the cell in
12 hour am/pm format, then even if the user enters a 24hr date format it
would be automatically converted to a 12 hour format. You don't have worry
about that.
 

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