I am trying to add together the contents of rich text boxes without loosing the text formatting. The first example allows an array of RTB to be added together. As soon as I try to include the formatting (RTF) the result is an empty string. Can anybody explain please?


This works but doesn't copy format:

RichTextBox2.Text = ""
For x = 0 To 3
RichTextBox2.Text = RichTextBox1(x).Text + _RichTextBox2.Text
Next x

This doesn't work, it returns an empty string:

RichTextBox2.TextRTF = ""
For x = 0 To 3
RichTextBox2.TextRTF = RichTextBox1(x).TextRTF + RichTextBox2.TextRTF
Next x

[Edited by Ping on 03-30-2000 at 08:35 AM]