I'm looking for a way to format a string. Is there a way to format a string that will be shown in a textbox?
Here's what I want to do.
In the above code, I want to bold the heading "Company Name:" and "Department:" and then italicize the "University of Wincosin Stout" and "Development".Code:Dim strName As String strName = "Company Name:" & vbCrLf & _ "University of Winsconsin Stout" & vbCrLf vbCrLf & _ "Department:" & vbCrLf & _ "Development" txtbox1.text = strName
Is there a to format this at run time with code?
ljCharlie




Reply With Quote