Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Member
 
Posts: 58
Default Validate date entry in a text box.

Hello:

I’m using Excel 2003, and I have a UserForm with a text box that requires a date input, but I’m having difficulty with users making invalid entries.

I’ve posted this question in a different forum and the answer was, “Why not use a calendar control in your UserForm instead”. This is an excellent idea and I plan on doing this but until I’m able to write such a procedure, is there a way to write code that will:

1. Validate the entry is a date.
2. Validate the entry is not greater then today’s date.

Matt
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
validate duplicate entry in a column wangan Excel Discussion (Misc queries) 4 June 5th 07 01:38 PM
Validate Email address entry Rayasiom Excel Discussion (Misc queries) 2 May 31st 07 10:36 AM
Validate in WS to prevent dual data entry Jonah Excel Worksheet Functions 1 March 10th 06 05:22 AM
Validate MsgBox Entry to Data in Cells David Excel Discussion (Misc queries) 13 December 21st 05 10:31 PM
Convert Text Entry to Date Format User Excel Discussion (Misc queries) 1 November 16th 05 08:40 PM


All times are GMT +1. The time now is 07:28 AM.

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"