Formating only a part of a String
Posted on 2004-10-14
I have text that is added to a textbox and I want to BOLD only a certain section of the string.
(1,000) .... One Thousand
I just want the 1,000 font bolded
the code is as followes:
Text3.text = Text3.text & "(" & Label3.Caption & ")" & Text2.text VbCrLf
The Label3.Caption is the Number (1,000) the Text2.text is that number convert to a text form and as the user enters more numbersto be converted it adds them to to the next line of the textbox.
Should I use a Listbox instead of a text box?
I would like to make the Number (Label3.Caption) Font Bold so that it stands out.