Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15571

Copying Formatted Text Out of a Rich Text Box

$
0
0
If I've formatted a rich text box as follows:

Code:

RTB9.SelStart = 0
RTB9.SelLength = 6
RTB9.SelBold = True
RTB9.SelText = "Hello1 "
RTB9.SelStart = 8
RTB9.SelLength = 6
RTB9.SelBold = False
RTB9.SelText = "Hello2 "

I get output like this: "Hello1 Hello2"

However, is there a way to copy this text and paste it into say, Microsoft Word without losing the formatting? It needs to support Unicode characters too.

Viewing all articles
Browse latest Browse all 15571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>