Dim pos As Integer With RichTextBox1 'add ">>> VERSION" to richtextbox .Text = "Some text before " & vbCrLf & ">>> VERSION" pos = Len(.Text) - 7 'add some text after "VERSION" .Text = .Text & " requested by <<<" 'select text "VERSION" .SelStart = pos .SelLength = 7 'bold text "VERSION" .SelBold = True End With>here's my problem
>With IRCform.ActiveForm.txtOutput > .Text = IRCform.ActiveForm.txtOutput.Text & ">>> VERSION" > 'add ">>> VERSION" to richtextbox > 'select text "VERSION" > .SelStart = Len(IRCform.ActiveForm.txtOutput.Text) - 7 > .SelLength = 7 > 'bold text "VERSION" > .SelBold = True > 'add some text after the bolded "VERSION" > .Text = .Text & " requested by " & nick & " <<<" > '&¤!#%"!& the "VERSION" text isn't bold anymore :/ >End With >>