If this is a contiguous block of data, select it and run
With Selection
.Value = .Value
End With
or this will work for everything. Select the cells and run
Dim cell As Range
For Each cell In Selection.Cells
cell.Value = cell.Value
Next
--
Tim Zych
www.higherdata.com
Compare data in worksheets and find differences with Workbook Compare
A free, powerful, flexible Excel utility
"iashorty" <(E-Mail Removed)> wrote in message
news:C00FEB58-27DD-434D-9DD3-(E-Mail Removed)...
>I have several cells that I need to delete the ' in front of text in that
> cell. How do I write the code for this in VBA?