Nothing is pasted when trying to paste copied text of an HTML table from my web app in IE11 to excel or word.
Steps to reproduce
- Select the content of the table in IE11
- Right-click -> Copy
- Paste into excel either with [CTRL + V] or by right-clicking and selecting either paste option
Results:
Nothing is pasted
Expected Results:
The table is pasted
Notes:
- The HTML tables that use standard W3C compliant HTML markup.
- The tables are styles with CSS
- Pasting tables from other websites, even tables styled with CSS, seems to work fine
- Pasting using "Paste Special > Text" sometimes shows the data, but when it does, the headers are usually wrong, and there are extra columns
- Pasting from chrome works fine
- Style isn't important, but having the data in the right format is critical
Here is the html of the table:
<table><thead><tr><th><span>Location</span></th><th><span>Count</span></th><th><span>Correlation</span></th></tr></thead><tbody><tr><td><a> US</a></td><td><span> 100.00%</span></td><td><span> 0.09</span></td></tr></tbody></table>