In a RichTextEdit object you use the SetTextStyle function to set the currently selected text to bold, underlined, italics, etc. The trick is to select the text you want to change. The SelectText function in a RichTextEdit object requires a starting line, starting character, ending line, and ending character. If you have not already done so, you will need to write a routine to determine at what line and character the text you want to change currently starts and ends so you can select it before calling the SetTextStyle function.