
Signature
Vragen is nooit dom.
Met een vraag blijven lopen wel.
Want dat lost nooit iets op.
Hoi John
Use something like this
Sub vakantie_check()
Dim datum As Long
datum = CLng(Range("datum_vandaag"))
Select Case datum
' de afdruk wordt gemaakt tijdens een vakantie
Case CLng(Range("herfst_begin").Value) To CLng(Range("herfst_eind").Value)
Range("datum_vandaag") = Range("herfst_eind") + 3
End Select
End Sub

Signature
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
> since 2007 the code doesn't work
>
[quoted text clipped - 18 lines]
>
> whats wrong?
john philippen - 28 Sep 2007 20:41 GMT
I will try this on monday
thnx
> Hoi John
>
[quoted text clipped - 33 lines]
> >
> > whats wrong?