Adding Quotation Marks to Data already in Mulitple Cells
Select the cells you want to modify and run:
Sub dont_quote_me()
q = Chr(34)
For Each r In Selection
r.Value = q & r.Value & q
Next
End Sub
--
Gary''s Student
gsnu200707
"Ron" wrote:
How can I add quotation marks around content within multiple cells in an
excel spreadsheet without doing it manually in Office 2002? For example, If
there is data in Cells A1 through A100 and I want quotations marks around
the data in each cell is there a way to add the quotation marks in each cell
without losing the data? The data is both numeric and text.
|