![]() |
|
#1
|
|||
|
|||
![]()
Hi Terri
Can you post a copy of your workbook containing the code and we can have a look for you. Tony(OTPM) |
#2
|
|||
|
|||
![]()
Thanks, have attached a briefer version of the full file (only due to the size of the main file) but this does have the bits I am trying to sort.
Terri |
#3
|
|||
|
|||
![]()
Hi
In the Validate_Fields() Function change: If Not Weekday(Range("B7").Value) = vbMonday Then MsgBox "Start Date must be a Monday (week beginning)", vbInformation to If Not Weekday(Range("B7").Value) = vbMonday Or vbTuesday Or vbWednesday Or vbThursday Or vbFriday Then MsgBox "Start Date must be a Weekday", vbInformation I think this will give you what you want. I am unable to step through the code because there are missing sheets. Hope this helps. Good luck. Tony(OTPM) |
#4
|
|||
|
|||
![]()
Hi Tony
Thanks for this. I have copied your code over and it now just brings up the message 'start date must be a monday (week beginning)'. I have re-attached the file with other sheets included, I have managed to reduce the size by taking a lot of completed data out. On the Setup sheet and LP sheet I have added some notes in red that might explain a little more what is wanted. Thanks again Terri |
#5
|
|||
|
|||
![]()
Hi
Try commenting out the code that checks for a Monday and see if that gives you what you need. Hope that helps. Tony(OTPM) |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
parnol01 | Project | 1 | 12-16-2015 09:30 AM |
![]() |
Daria11 | Word VBA | 1 | 06-08-2011 06:54 PM |
![]() |
Ultrap3 | Word | 2 | 02-04-2011 02:53 PM |
![]() |
Ziggy-R | Word | 10 | 09-28-2010 01:42 AM |
Adding dates | mkkram | Word | 0 | 11-27-2006 09:18 AM |