Date format
If you just put a date in an unformatted cell, it should use the default
date
activecell.Value = Date
? activeCell.NumberFormat
m/d/yy
ActiveCell.Offset(1,0).Value = Time
? activeCell.Offset(1,0).Numberformat
h:mm:ss AM/PM
--
Regards,
Tom Ogilvy
"Jos Vens" wrote in message
...
Hi,
how can I know what the default date and time format is set on the user's
computer. Now I set it to a special format (yy-mm-dd) but the user asks to
let it be like his computer's setting.
Thanks
Jos Vens
|