Anyone know of a way to interpret text as source for an RTF document? I have text in a variable and pasted in a document that looks like this:
I want it to be intrepreted and displayed as RTF. I've tried cutting and pasting as RTF, but that just pasted it back in as text.Code:{\rtf1 \ansi \deff0 \deflang1033 {\fonttbl {\f0 Arial;}} ... ... }
I'm using VBScript through Internet Explorer so I'm not allowed to save the documents. I also want it all automated so I don't want to prompt the user to do so either. Have any ideas?VB Code:
'Convert text to RTF' doc1.Content.Cut doc1.Content.PasteSpecial , , , , wdPasteRTF




Reply With Quote