Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default MAcro for validation of Date


Hi,

Anyone know how I can write a macro to set validation on a cell suc
that it will validate whether the date entered is of the form "dd mmm
yyyy" and that it is greater than the date today?

How do I programmatically set the error message?

Thanks for your help

--
junx1

-----------------------------------------------------------------------
junx13's Profile: http://www.excelforum.com/member.php...nfo&userid=562
View this thread: http://www.excelforum.com/showthread.php?threadid=27201

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default MAcro for validation of Date

Hi
a non-VBA solution. Try: 'Data - Validation' and choose 'Date' together with
your starting date.

"junx13" wrote:


Hi,

Anyone know how I can write a macro to set validation on a cell such
that it will validate whether the date entered is of the form "dd mmm,
yyyy" and that it is greater than the date today?

How do I programmatically set the error message?

Thanks for your help!


--
junx13


------------------------------------------------------------------------
junx13's Profile: http://www.excelforum.com/member.php...fo&userid=5620
View this thread: http://www.excelforum.com/showthread...hreadid=272016


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 validation MAYBE Julian Campbell Excel Discussion (Misc queries) 1 December 28th 05 10:17 PM
Date Validation - Must equal Sundays date jeridbohmann Excel Discussion (Misc queries) 14 November 30th 05 08:40 PM
Date validation patam Excel Discussion (Misc queries) 8 September 3rd 05 05:26 PM
Date Colum Date Formatting & Validation Mike[_81_] Excel Programming 1 June 7th 04 01:59 AM
Excel macro - Help with duplication validation macro princess[_2_] Excel Programming 3 January 8th 04 06:39 PM


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