try this
Sub ConvertThem() 'Harald Staff
Dim C As Range
For Each C In Intersect(Selection, _
ActiveSheet.UsedRange)
If Not C.HasFormula Then
If IsNumeric(C.Value) Then
C.Value = C.Value * 1
End If
End If
Next
End Sub
--
Don Guillett
SalesAid Software
(E-Mail Removed)
"Colleyville Alan" <(E-Mail Removed)> wrote in message
news:n6zrb.114821$275.325750@attbi_s53...
> When I use the trim function on some dates that have been input as text,
the
> leading spaces are gone. But Excel still treats the dates as though they
> were text
>
> However, if I hit the F2 key to enter the edit mode and then press Enter,
it
> converts the information to dates. How do I convert thess quasi-text
cells
> without manually editing each one? Is there a worksheet function that
will
> do this?
> Thanks
>
>