0
Reply

Insert RTF in a Word document

Xavier

Xavier

Jul 30 2009 6:15 PM
5.8k
Hi, I have some VB code that reads text from a MSAccess DB and inserts it into a word doc. So far so good. Now I want to use formatted text. I added a RTF control in Access and now I can read the encoded RTF from it. But when I insert in Word, it shows in its encoded form. How do I make Word interpret and render the RTF ? Note: I have tried the combination "PutInClipboard"/"PasteSpecial", but it fails on the latter ("Data type not available"). Any clues please ?