You are on page 1of 1

Option Explicit

Sub addapostrophe()
Dim cell As Range
For Each cell In Range("A1:A" & Range("A65536").End(xlUp).Row)
cell.Select
If cell.Value <> "" Then
cell.Value = "'" & cell.Value
End If
Next
End Sub

You might also like