質問 A8:A38 の日付の部分はシリアル値が入っているのでしょうか?
下記でいかがでしょうか?
Sub 出勤記録()
Dim index
index = Application.Match([today()],[A8:A38].value,0)
If not isError(index) Then
Cells(index+7,5) = [now()]
Elif
' このシートに日付がない時の動作を記述
MagBox(\u0026quot;シートが違います。\u0026quot;)
End if
End Sub