Solved

properties of mouse marks

Posted on 1998-07-28
1
143 Views
Last Modified: 2010-05-03
i would like to change one of a text box or other text control properties

for example : if my text box contain the line : eeeee ggggg sdfdfdf eyal web
i would like to bold the 'eyal' that is marked now by the mouse - i dont want to change the property to the all line
but only to the word that was marked by the mouse (like copy and paste does)
0
Comment
Question by:Brown072898
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
swilt earned 50 total points
ID: 1466908
Use a Rich Text Box ( RichTextBox1) on a form with a button (Command1)


Option Explicit

Private Sub Command1_Click()
    RichTextBox1.SelBold = True
End Sub

0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

688 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