Copy paste from Excel cell to Notepad is add double quotes

jbesclapez

Board Regular
Joined
Feb 6, 2010
Messages
246
Hi there,

If I copy a text value like below from excel to notepad, it adds some double quotes.

1627391553711.png


Will give you this in notepad
1627391597528.png


I did a bit of reasearch and someone created a VB but it is not working as it is using some user32.dll and therefore not compatible with my excel 64bit.
I also tried to copy to googlesheet with no real luck. And it is far from ideal

Anyone as a solution even in VB or in format to solve this on the latest version of excel 365 with 64bit?

Thanks


Example:
Namespace test
Public Class MainClass
'------------------------------------------------------------------------------------------------------------
Reference Code: ThisisIt
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

jbesclapez

Board Regular
Joined
Feb 6, 2010
Messages
246
I would like to add that i am OK with a solution that would directly save as wanted. without manual copy paste. Maybe it is easier with VBA.
 

Forum statistics

Threads
1,144,239
Messages
5,723,192
Members
422,482
Latest member
MacSapper

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
Top