Hmmm.... Yes, with some of my posted code the formatting of the RTB's text is lost because it is only using the text, which is different than the textrtf value. So to fix, I guess you would replace RTB.Text with RTB.Textrtf, and Wof, I like yours as it does take into consideration the word wrapping feature of the RTB. I think it would make more sense to use that with plain text (meaning writing, stories, instructions, etc.) but if each line is like a log file entry, then other code as posted would work also...



Good Luck