shavenlunatic
MIS
The following comes up with a type mismatch error when on the last line:
-----------------------------------------------------
repform = ActiveCell.Value & "/" & Sheet4.Cells(13, 2) & "/" & Format(Sheet4.Cells(13, 3), "00")
repform = Format(repform, "dd/mm/yyyy")
sheetdate = CLng(repform) <-- error
-----------------------------------------------------
in the immediate window:
?repform
31/10/2006
the variable isn't declared as anything else so am not sure what is going wrong.
________
clueless
-----------------------------------------------------
repform = ActiveCell.Value & "/" & Sheet4.Cells(13, 2) & "/" & Format(Sheet4.Cells(13, 3), "00")
repform = Format(repform, "dd/mm/yyyy")
sheetdate = CLng(repform) <-- error
-----------------------------------------------------
in the immediate window:
?repform
31/10/2006
the variable isn't declared as anything else so am not sure what is going wrong.
________
clueless