With RichTextBox1 .SelStart = 0 .SelLength = 5 .SelColor = vbRed .SelStart = 6 .SelLength = 4 .SelColor = vbBlue .SelLength = 0 End With