Option Explicit
Sub DateRange()
Dim Rng As Range, Clls As Range, dRng As Range
35 Set Rng = Union(Cells.SpecialCells(xlCellTypeConstants, 1), _
Cells.SpecialCells(xlCellTypeFormulas, 1))
For Each Clls In Rng
If IsDate(Clls.Value) Then
If dRng Is Nothing Then
Set dRng = Clls
Else
Set dRng = Union(dRng, Clls)
End If
End If
Next Clls
MsgBox dRng.Address
End Sub