View Single Post
 
Old 03-27-2019, 09:22 AM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,324
Default

You could try something like:
Code:
ovRange.Columns(1).Numberformat := 'yyyy-mm-dd'
I guess you should call this beofre the CopyFromRecordset, so the range knows what to expect...

Last edited by Norrit; 03-27-2019 at 09:22 AM. Reason: Sorry, not Delphi syntax
Reply With Quote