Quote:
Originally Posted by jpb103
This code is logically identical to the code segment I've just provided.
|
No, it's not.
You're setting oRng (which I assume has been defined as a Range object) to a string of formatted text. That should be your type mismatch.
And in your second example, you're setting the FormattedText
.Text to the RTF data, which is what you are getting. You need to set the FormattedText to the RTF string.