Solved

vb textbox bold font

Posted on 2006-06-23
3
1,429 Views
Last Modified: 2013-12-03
Hi,
Is there a way to bold some words in a sentence that go into a text box?

I want to bold the first two words.


            txtMatrixDescription.Text = "BOLD TEXT, regular text"
0
Comment
Question by:jackjohnson44
  • 2
3 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 16969957
Hi jackjohnson44,

Not using a TextBox. You need to use a RichTextBox.

Cheers!
0
 

Author Comment

by:jackjohnson44
ID: 16969974
if my textbox was a rich text box, how would the above code be changed to bold the "BOLD TEXT"?

Thanks
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 16970039
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Specify ip address in my connection string for sas 2 59
Hide vba in gp 7 93
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 51
Send outlook email from VBS Script 2 28
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now