Hello,
Does anyone know how to copy text from a rich text box by setting the the start and stop position in the code and transfering the selected text to the clipboard?
Hello,
Does anyone know how to copy text from a rich text box by setting the the start and stop position in the code and transfering the selected text to the clipboard?
There ya go :)Code:RichTextBox1.SelStart = 2
RichTextBox1.SelLength = 3
Clipboard.SetText RichTextBox1.SelText
Thanks!