Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 234
Default Check date upon input

Thanks OssieMac, done the job required. I have been on the wrong track of
looking to code in VBA.

Thanks again, Rob


"OssieMac" wrote in message
...
Hi Rob,

I don't have xl2000 to test this but try the following formula for data
validation.

=AND(B4=A1,B4<=A2,WEEKDAY(B4,1)=1)

--
Regards,

OssieMac


"Rob" wrote:

Good morning,

Excel 2000. I want to trap upon entry into a cell (B4) whether a user
has
correctly entered a Sunday date, the date also needs to be between two
dates
that are in the spreadsheet (cell A1 start date and cell B2 end date). I
can check the latter part using Data Validation but not whether it is a
Sunday. Guessing that I need to add some VBA code but not too sure where
to
start.

Any help welcome.

Thanks, Rob





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
Check Input, into Input box question Les Stout[_2_] Excel Programming 2 June 21st 07 06:37 PM
Check input is a date stumac Excel Discussion (Misc queries) 5 December 14th 06 03:28 PM
Check user input [email protected] Excel Programming 3 March 24th 06 09:04 AM
Check for repeated input Jamuck Excel Programming 2 January 26th 06 01:12 PM
Check on the input in an inputbox Tempy Excel Programming 5 May 17th 05 02:01 PM


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