ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   questions re quotes and csv (https://www.excelbanter.com/excel-discussion-misc-queries/78441-questions-re-quotes-csv.html)

Sgt.DA

questions re quotes and csv
 

is there a way to put all my cells in quotes without manually editting
each one?

thanks in advanced
DA


--
Sgt.DA
------------------------------------------------------------------------
Sgt.DA's Profile: http://www.excelforum.com/member.php...o&userid=27281
View this thread: http://www.excelforum.com/showthread...hreadid=524473


Gary''s Student

questions re quotes and csv
 
If text is in F19, then:

="""" & F19 & """" will give you the text with double quotes before and
after.
--
Gary''s Student


"Sgt.DA" wrote:


is there a way to put all my cells in quotes without manually editting
each one?

thanks in advanced
DA


--
Sgt.DA
------------------------------------------------------------------------
Sgt.DA's Profile: http://www.excelforum.com/member.php...o&userid=27281
View this thread: http://www.excelforum.com/showthread...hreadid=524473



Gary''s Student

questions re quotes and csv
 
If you don't mind visual basic then enter the following macro:

Sub dont_quote_me()
Dim r As Range
For Each r In Selection
r.Value = Chr(34) & r.Value & Chr(34)
Next
End Sub

Then select an area in the worksheet and run the macro.
--
Gary's Student


"Sgt.DA" wrote:


is there a way to put all my cells in quotes without manually editting
each one?

thanks in advanced
DA


--
Sgt.DA
------------------------------------------------------------------------
Sgt.DA's Profile: http://www.excelforum.com/member.php...o&userid=27281
View this thread: http://www.excelforum.com/showthread...hreadid=524473




All times are GMT +1. The time now is 01:28 AM.

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