Format to text was not sufficient

A

acw

Bruce

Try this.

Sub aaa()
Range("h65536").End(xlUp).Select
While ActiveCell.Row > 11
If WorksheetFunction.IsNumber(ActiveCell.Value) Then
ActiveCell.Value = "'" & ActiveCell.Value
End If
ActiveCell.Offset(-1, 0).Select
Wend

End Sub

Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top