Excel clipboard data
Posted: Fri Apr 16, 2021 6:22 pm
Hello,
This question is not really related to XLSReadWrite, but maybe XLSReadWrite can help.
In my application, I have TDataSets and TDBGrids. We have a feature that allows the dataset contents to be exported to clipboard (plain text, tab delimited) and it works fine.
However, if I paste into MS Word or Teams, it doesn't make a nice table, as if I had copied/pasted from Excel. I have tried exporting to HTML clipboard format with a HTML Table, but that doesn't do it either.
Is there a way that I can use XLSReadWrite to copy data to the clipboard in the same format that Excel does?
Thanks
John
This question is not really related to XLSReadWrite, but maybe XLSReadWrite can help.
In my application, I have TDataSets and TDBGrids. We have a feature that allows the dataset contents to be exported to clipboard (plain text, tab delimited) and it works fine.
However, if I paste into MS Word or Teams, it doesn't make a nice table, as if I had copied/pasted from Excel. I have tried exporting to HTML clipboard format with a HTML Table, but that doesn't do it either.
Is there a way that I can use XLSReadWrite to copy data to the clipboard in the same format that Excel does?
Thanks
John