What could be the reason, that I get
the the Run-Time Error ’13’ Type Mismatch
with this line of VBA Code:
.Cells(1, 1) = CDate(Format(Now, "dd.mm.yy hh:mm"))
The problem is, that a colleague doesn’t get this error. We have both a “German” office.
I’m not sure why you need the format, since its just being turned straight back into a Date before you fill the cell.
You should really either have:
or even better
then format the column as follows:
Note: Its possible that having the mm in the format string could not help, although having just tried it out it seems to work ok.