I have the following string format contained within cells in excel
26Aug08
22Aug08
I need to convert these to dates to find the number of days between them so intend to use the DateDiff function
However, I'm having real problems converting these strings into a date format
I've tried the following which returns a Type mismatch error
Can anyone help on this one?
Thanks,
os
26Aug08
22Aug08
I need to convert these to dates to find the number of days between them so intend to use the DateDiff function
However, I'm having real problems converting these strings into a date format
I've tried the following which returns a Type mismatch error
Code:
statsDate = Range("f504").Offset(statsformcount, 0).Value
date1 = Format(CDate(statsDate), "dd/mm/yyyy")
Can anyone help on this one?
Thanks,
os