View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
StuartBisset StuartBisset is offline
external usenet poster
 
Posts: 19
Default DateValue gets wrong date number

Bernie, Patrick

Many thanks for your help. Your "Split" solution looks like it will
work and for that I am grateful - but I must admit I find it extremely
odd that DateValue would return the correct value when it was used in
the immediate window but a different/incorrect value when used within
a macro. Can either of you explain the reason for that?

Cheers

Stuart