Excel copy from cell to clipboard

一笑奈何 提交于 2019-12-12 03:23:57

问题


In Excel 2013 into cell i post this string

'<xml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'

Then i copying this cell to clipboard using ctrl+c and post to notepad using ctrl+v I get this

"<xml xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"">'
"

So all my string became quoted and trimed first single quote, also added additional quotes to url, how to prevent changes and get string as it is.


回答1:


Excel identifies the first ' as Symbol that the value in a cell is text.

And are you sure it is doubling the " when pasting it into notepad?



来源:https://stackoverflow.com/questions/27821075/excel-copy-from-cell-to-clipboard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!