Originally Posted by
JoeyGirl
What I am trying to do is make an existing spreadsheet more user friendly as there have been a number of calculation errors due to incorrect data input...
As both the Excel programmer and the software trainer for my company I battle these same issues from time to time. People frequently think that adding programming into a workbook is the solution for their bad habits so bad habits can be "lived with". Of course that's true on the surface, but ultimately teaches users the exact opposite of what you want...
The BEST thing to teach user's is to enter data correctly and to specified parameters, The only reason "the error messages really slow them down" is because they keep making the same mistake over and over. I'm going to offer that they aren't making the mistake over and over, just occasionally and are simply bugged at not being free to type whatever they want.
I'll give you the solution you want, but I promise that you are laying the groundwork for them thinking they can "really" do anything they want and you'll fix it, and that's not a respectful attitude, but it's your garden to attend. Just remember my warning.
My best solution would be to simply answer this when they complain, "Yes, it does properly warn you to fix your date formatting errors. Don't worry, those messages will disappear when you get used to using the correct format."
======
Assuming the dates are in column B. Format that column as date.
Put this macro into that SHEET module:
This will change spaces, backslashes and periods into forward slashes which should handle most errors. You can add more...
Bookmarks