Aha! Just finished formatting the fonts! I was wondering if you or anyone knows how to insert a page break in the rtf control. Is there anything for the page break that is similar to vbCrLf (carriage return and line feed)?
Thanks again!
>You'll need to use the SelStart, SelLen, and SelFont properties to
>adjust these. You can use this example which changes the color as
>a start:
>
>
http://support.microsoft.com/support/kb/articles/Q154/8/84.asp>
>
>
>>Hi! I would like to know how to format font for the richtextbox control that has its multiline property enabled.
>>
>>For example, I have:
>>
>>RichTextBox1.Text = "Sample File Output" + vbCrLf
>>RichTextBox1.Text = "Date: " + vbCrLf
>>RichTextBox1.Text = "Time: " + vbCrLf
>>
>>The first line of the Code above should be in bold character format while the remainder text should be in Normal Font format. Pls. note also that I'm using "Courier New" as my font.
>>
>>Thanks!
>>
>>Ramon