Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel default browser for Win2003 Ivan Excel Discussion (Misc queries) 0 September 5th 07 01:57 AM
Excel 2003 Error Cannot Locate the Internet Server or Proxy Server Seabee Excel Discussion (Misc queries) 0 November 20th 05 12:03 AM
SQL Server ODBC Error Art Saffran Excel Discussion (Misc queries) 0 March 24th 05 02:37 PM
Submit to SQL Server error Jim Hutchinson Excel Discussion (Misc queries) 1 February 25th 05 01:45 PM
error saving a new file on server Jason Excel Discussion (Misc queries) 1 February 21st 05 10:56 PM


All times are GMT +1. The time now is 10:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"