View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
[email protected] giel.vanboxtel@nextprint.nl is offline
external usenet poster
 
Posts: 5
Default Converting datetime from character string

On 13 nov, 15:02, "
wrote:
On 13 nov, 14:44, "

wrote:
Sorry, this is not working


Regards Giel


I have changed MyDate into a Double
This gives the proper value when stepping through the code.
But it does not give the value to MyDate in the Query.

Is there a way to solve this?

Giel


After a little search I found the trick:

'" & MyDate & "'

Now it works fine