Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Error Capturing Date and Time Formats

Hi

I have a set of UserForms capturing all types of information and returning
the data to a spreadsheet. I have finally managed to get dates and times to
format correctly however I now need to find out how to capture any errors.
ie I want users to be forced to enter dates in dd/mm/yy format and hh:mm
format for times, if they don't enter in this format how can I capture the
errors and get them to go back and enter in the correct format?

Any help very much appreciated, otherwise I wont get to bed tonight!

--
Zani
(if I have posted here, I really am stuck!)

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Error Capturing Date and Time Formats

Maybe using a calendar/date control would be better.

Ron de Bruin has some tips/links at:
http://www.rondebruin.nl/calendar.htm

Zani wrote:

Hi

I have a set of UserForms capturing all types of information and returning
the data to a spreadsheet. I have finally managed to get dates and times to
format correctly however I now need to find out how to capture any errors.
ie I want users to be forced to enter dates in dd/mm/yy format and hh:mm
format for times, if they don't enter in this format how can I capture the
errors and get them to go back and enter in the correct format?

Any help very much appreciated, otherwise I wont get to bed tonight!

--
Zani
(if I have posted here, I really am stuck!)


--

Dave Peterson
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
Date Capturing by Time Ken Excel Discussion (Misc queries) 1 December 2nd 07 10:50 AM
What exactly does the asterisk mean in the Date/Time formats? JB Excel Discussion (Misc queries) 1 July 26th 06 02:39 AM
Date and Time Formats in UserForms Zani Excel Programming 2 January 13th 06 04:22 AM
Multiple Date/Time Formats colin Excel Worksheet Functions 2 October 7th 05 11:40 AM
US vs UK date and time formats Stephen Glynn Excel Discussion (Misc queries) 2 February 24th 05 05:58 PM


All times are GMT +1. The time now is 06:11 PM.

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"