I am using the RichTextBox control to generate reports. For longer reports, with embedded images, the file can become quite large. The VB RichTextBox does not provide support for certain RTF codes, such as "\page" to indicate a new page. I need to be able to generate these page breaks so that the document is correct in structure when viewed in another application that can understand that code, such as Word or WordPad. Right now, I am using the Replace$ function to replace "flags" I set in the text with the "\page" rtf code. On files of several megs or more, this is entirely too slow. Any suggestions?