Adamski
04-05-2012, 04:51 AM
Hello,
I have a database which has a load of data in richtext format.
I have code to export the RTF strings to a word document.
Currently I am doing this by copy-paste via the windows clipboard. It works, but disables the clipboard for the duration of the export. This is very annoying.
I am updating the code to dump the RTF strings to .rtf files and then insert these files into the word document. No Copy Pasting but more File Operations - Create Write Read Delete.
Using range.InsertFile, how do I get the range of the inserted file so I can collapse it and insert the next?
(This is not going at the end of the document)
Or is there a third way to parse RFT into Word?
Thanks,
I have a database which has a load of data in richtext format.
I have code to export the RTF strings to a word document.
Currently I am doing this by copy-paste via the windows clipboard. It works, but disables the clipboard for the duration of the export. This is very annoying.
I am updating the code to dump the RTF strings to .rtf files and then insert these files into the word document. No Copy Pasting but more File Operations - Create Write Read Delete.
Using range.InsertFile, how do I get the range of the inserted file so I can collapse it and insert the next?
(This is not going at the end of the document)
Or is there a third way to parse RFT into Word?
Thanks,