Thread
:
VBA Code HELP PLEASE!!
View Single Post
#
5
Posted to microsoft.public.excel.programming
Nick TKA[_3_]
external usenet poster
Posts: 1
VBA Code HELP PLEASE!!
Wrote:
Hi
I'm not clear what your problem is. The obvious issue is that your
ranges overlap, so the behavior you want will depend on the sequencing
of your if.. then...else statements. Exactly what range do you want to
apply if you click on target?
regards
Paul
Hi Paul,
what I need to make sure that a vehicle cannot be booked out more than
once.
To break it down, There is one vehicle, this is called 481. When 481 is
booked out from 6.30am to 10.30am i need to make sure that it cannot be
booked out again before 10.30am.
So if you imagine that my code E273:G284 covers - E to G being the
times E=6am F=7am G=8am and rows 273 to 284 are drivers
Start times are 6am 8am 11am 12.30pm so my code displays any
duplications between these times. In theory this works but as above
stated the second and third dont do their job properly because the
first column will not run 2 codes.
--
Nick TKA
------------------------------------------------------------------------
Nick TKA's Profile:
http://www.excelforum.com/member.php...o&userid=33942
View this thread:
http://www.excelforum.com/showthread...hreadid=537179
Reply With Quote
Nick TKA[_3_]
View Public Profile
Find all posts by Nick TKA[_3_]