View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
wright wright is offline
external usenet poster
 
Posts: 7
Default VBA Time comparison not correct

Thank you. This seems to work.

"Jim Rech" wrote:

It's likely rounding at the 14th decimal place or something like that.
Maybe you should compare the .Text properties rather than the .Value
properties.

--
Jim
"wright" wrote in message
...
| Another note to mention, is that by entering the value manually (i.e.
typing
| 19:00 into cell B1141) and rerunning the vba script it seems to correct
the
| error. So this is probably something funky to do with autofill.