'调用工作表函数中的Match方法
Sub test1()
Dim x
On Error Resume Next
x = Application.WorksheetFunction.Match(CLng(Date), Columns("A:A"), 0)
If Err.Number = 1004 Then x = "没找到"
Err.Clear
MsgBox x
End Sub
'Range.Find 方法
Sub test2()
Dim rng As Range
Set rng = Range("a:a").Find(Date)
If rng Is Nothing Then MsgBox "没找到" Else MsgBox rng.Row
End Sub
当然,还可通过循环该区域,通过判断来得到结果。