Type Mismatch

Novice1

Registered User.
Local time
Today, 13:13
Joined
Mar 9, 2004
Messages
385
I'm getting a Type Mismatch error with the following code:

If Time(Now()) >= #9:00:00 AM# And Time(Now()) <= #3:00:00 PM# Then


What am I doing wrong?
 
If Time() >= #9:00:00 AM# And Time() <= #3:00:00 PM# Then

??
 

Users who are viewing this thread

Back
Top Bottom