I have a textbox and a certain button in able to make the selected text bold,italic or underlined using HTML tag (just like the way we can format text here in post thread). I am using HTML tag because my objective is to send an email, is like I am composing an email body like GMAIL. The thing is when i tried to format certain text that I select, it seems whole value of textbox adding a HTML tag. Can you help me with it?
See code below.
Private Sub CommandButton3_Click() TextBox1.SetFocus TextBox1.Text = "<b>" & TextBox1.Text & "</b>" End Sub