Mask date format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

I am trying to find a way to "mask" a date field so the user cannot change
the format of the column, or enter any other format other than as I specify.
I want the field to appear as _ _ / _ _ _ / _ _ _ _ and if the user does not
enter dd/mmm/yyyy it will either not accept when they are typing or prompt
"invalid date format" upon leaving the field.

Thanks,

JJ
 
You'll want to use Data Validation (no code needed). Select from the drop
down to allow any date, then format the cells how you want. You'll need to
protect the sheet so that other users cannot change the format.
 
Thanks JNW - works like a charm!

Why do we tend to make things more difficult than need be? :)

JJ
 

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

Back
Top