Hmmmmmm - That sounds interesting, I'll give it a try and let you know.
Select all the cells with values and run this macro
Sub ChangeAllToText()
Dim myC As Range
For Each myC In Selection
myC.Value = "'" & myC.Text
Next myC
End Sub
The line
Cells.Value = CStr(Cells.Value)
won't work because you will lose the formatting - .Text shows the formatted
value, and you need to loop through to put the ' in front of the values,
(especially date values) to keep them from converting back from text.
HTH,
Bernie
MS Excel MVP
> Hmmmmmm - That sounds interesting, I'll give it a try and let you know.
>
[quoted text clipped - 6 lines]
>>> >> Thanks
>>> >> Carrie
Carrie_Loos - 23 May 2008 01:37 GMT
Worked like a charm - Thx you guys just saved me many many painful hours!
Carrie
>Select all the cells with values and run this macro
>
[quoted text clipped - 20 lines]
>>>> >> Thanks
>>>> >> Carrie