LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Turn off Excel changing all date like strings to dates

I have a cell that I want my users to enter date of manufacture.
Examples a
03-01
06/07
They must match one of these patterns:
XX-XX
XX/XX

I want to keep these values as they were entered by the user. My
problem is Excel wants to turn them into dates when they are entered
by the user causing problems for my validation logic.

Is there a way I can tell Excel to translate data entered in these
cells as text and not to convert them to dates.

I have tried changing the cell type on Worksheet_Change but Excel has
already changed the data to a date.

Chrisso

 
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
why does numbers automaticly turn to dates in Excel? Joe New Users to Excel 1 February 10th 10 07:20 PM
Changing dates automatically with the computer date Sherees Excel Discussion (Misc queries) 2 December 16th 09 01:28 PM
Changing dates to date format Tigerxl Excel Discussion (Misc queries) 5 April 3rd 09 10:26 PM
Changing text dates to date serial numbers George[_5_] Excel Worksheet Functions 6 January 2nd 08 10:44 PM
changing dates in a date formated column ? Tim[_7_] Excel Discussion (Misc queries) 2 October 18th 07 03:53 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"