M
michdenis
Hi,
Is someone knows why this sub works well
Sub test()
Dim MyDate As Date, X
MyDate = CDate("14/08/2008")
'*******************
X = Application.Match(CLng(LaDate), Range("A1:A25"), 0)
'*******************
End Sub
And if i add the property ".value" to the object "Range", an error is
generated.
Sub test()
Dim MyDate As Date, X
MyDate = CDate("14/08/2008") ' French format -> French Version Excel.
'*******************
X = Application.Match(CLng(LaDate), Range("A1:A25").Value, 0)
'*******************
End Sub
Thank for your collaboration.
Salutations.
Is someone knows why this sub works well
Sub test()
Dim MyDate As Date, X
MyDate = CDate("14/08/2008")
'*******************
X = Application.Match(CLng(LaDate), Range("A1:A25"), 0)
'*******************
End Sub
And if i add the property ".value" to the object "Range", an error is
generated.
Sub test()
Dim MyDate As Date, X
MyDate = CDate("14/08/2008") ' French format -> French Version Excel.
'*******************
X = Application.Match(CLng(LaDate), Range("A1:A25").Value, 0)
'*******************
End Sub
Thank for your collaboration.
Salutations.