Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Error comparing date win2003 Server
Hi,
I have the following line: If regs_hrMax < lastHr Then regs_hrMax is a Date variable lastHr is a Date constant = "11:00 PM" 99% of the times this comparison will execute fine, ex: If "6:00 PM" < "11:00 PM" Then -- TRUE If "3:00 AM" < "11:00 PM" Then -- TRUE If "10:00 PM" < "11:00 PM" Then -- TRUE but when comparing: If "11:00 PM" < "11:00 PM" Then -- FALSE This only hanpends in Win 2003 Server, the same VBA proyect on Win XP or 2000 wont do this!, why is this happening?, I dont really know much about Win Server, could it be a configurationm problem? Thanks, Fernando |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel default browser for Win2003 | Excel Discussion (Misc queries) | |||
Excel 2003 Error Cannot Locate the Internet Server or Proxy Server | Excel Discussion (Misc queries) | |||
SQL Server ODBC Error | Excel Discussion (Misc queries) | |||
Submit to SQL Server error | Excel Discussion (Misc queries) | |||
error saving a new file on server | Excel Discussion (Misc queries) |