Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Forcing a certain date format in an Excel column

Hello-
How can I restrict user data entry in a column to a certain date format?
MM/DD/YYYY

any help much appreciated! thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 329
Default Forcing a certain date format in an Excel column

Hi Angela,

You could set the cell to use Data Validation (see Data|Validation on the
menu). With this, you can even force the input date to fall within a specified
date range - which you could base on the current date if you want to.

For example:
.. click Data|Validation|Settings
.. Allow = 'Date'
.. Data = 'between'
.. Start Date = '=DATE(YEAR(TODAY()),1,1)'
.. End date = '=TODAY()'
.. uncheck 'Ignore blank'
This would force the user to input a date between 1 January this year and
today. Providing your regional settings are in month-day-year form, the user
will have to input the date in MM/DD/YYYY form.

Cheers

--
macropod
[MVP - Microsoft Word]


"angela" <angela @discussions.microsoft.com wrote in message
...
| Hello-
| How can I restrict user data entry in a column to a certain date format?
| MM/DD/YYYY
|
| any help much appreciated! thanks


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
Forcing Save as in the format of Excel 2007 JJ[_3_] Excel Discussion (Misc queries) 1 June 1st 08 01:04 PM
forcing date to excel Daniel Excel Worksheet Functions 1 September 28th 07 03:12 AM
Format an Excel Column in the window's short date format. jim kane Excel Programming 7 January 25th 07 02:41 AM
Forcing english date format Steve1154 Excel Worksheet Functions 5 February 15th 06 03:11 PM
Forcing a specific date format DianeMcP New Users to Excel 10 October 27th 05 05:03 PM


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