View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default European vs English Issue

Maybe try

If UL < "" Then NumOOS = Application.CountIf(Database, "" & CDate(UL) &
"")


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Bill" wrote in message
link.net...
Hello,
I want to find the number of values in a database greater than a certain
value UL. The following code works in the United States Regional Option:

If UL < "" Then NumOOS = Application.CountIf(Database, "" & UL & "")

But it always gives 0 in, for example, the regional option for Germany.

Any ideas why?

Thanks,

Bill