Answer the question
In order to leave comments, you need to log in
How to put quotes in bulk in Excel or txt strings?
Given 3000 different words (or phrases), each of which is written on a separate line. Each phrase must be wrapped in quotation marks "".
How to do it automatically and in bulk?
I also have a Notepad++ editor, maybe it is possible to do this in bulk with regular expressions?
Answer the question
In order to leave comments, you need to log in
It can be even easier. Copy everything to the first column, line by line
In the second, write
And drag this entry to the last.
Good afternoon!
Solution using Excel:
1. Column A - all your strings
2. Column B - quotes
3. Column C - =CONCATENATE(B1;A1;B1)
If it's quick and easy, then:
1. open the list in notepad++
2. search (ctrl + F), "Replace" tab
3. In the field find: \r\n, in the field replace with: "\r\n"
4. Search Mode - Advanced
Click "Replace All", then put one quote at the very beginning of the list, and remove it at the very end. Ready
Copy all lines in 1 column in Excel
Create a macro.
Write in a macro
For i = 1 To сюда ваша последняя цифра в столбике прим 3000
Cells(i, 1) = Chr(34) & Cells(i, 1) & Chr(34)
Next i
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question