Excel Putting Quotes Around Every Line of Text Copied

JohnTravolski

New Member
Joined
Nov 25, 2015
Messages
47
Office Version
  1. 2019
Platform
  1. Windows
Starting today, Excel is now putting quotes around every line of text copied from cells from a workbook when pasting into a plain-text application like Notepad or an editor like SSMS. I'm copying lines of SQL code from the excel workbook into the text editor and I'm getting lines that look like this:

SQL:
"SET NOCOUNT ON;   " 
"if OBJECT_ID('tempdb..#temptable1') is not null begin drop table #temptable1; end;   "
"Create Table #myTempTable                                                                          "

This never used to happen. What changed? How can I prevent this from happening when copying text from Excel cells into a plaintext application? A workaround I found is copying into Word first and then copying form word back into the plaintext application, but this is stupid.

I'm on Excel 2412 Build 18324.20190, 32-bit
 

Forum statistics

Threads
1,226,848
Messages
6,193,315
Members
453,790
Latest member
yassinosnoo1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top