ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   inserting quotation marks (https://www.excelbanter.com/excel-discussion-misc-queries/31106-inserting-quotation-marks.html)

dave glynn

inserting quotation marks
 
I want to insert quotes in front of text in 1280 cells that already have
values in them. Is there an easy way to do this with a macro.

Bob Phillips

Select those cells

Dim cell

For Each cell In Selection
cell.Value = """" & cell.Value
Next cell


--

HTH

RP
(remove nothere from the email address if mailing direct)


"dave glynn" wrote in message
...
I want to insert quotes in front of text in 1280 cells that already have
values in them. Is there an easy way to do this with a macro.




dave glynn

Thanks Bob

Kind regards

Dave

"Bob Phillips" wrote:

Select those cells

Dim cell

For Each cell In Selection
cell.Value = """" & cell.Value
Next cell


--

HTH

RP
(remove nothere from the email address if mailing direct)


"dave glynn" wrote in message
...
I want to insert quotes in front of text in 1280 cells that already have
values in them. Is there an easy way to do this with a macro.






All times are GMT +1. The time now is 02:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com