Solved

properties of mouse marks

Posted on 1998-07-28
1
142 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using "ScreenUpdating" 6 84
TT Auto Dashboard 13 101
Automatic Email Reminder 4 75
Get the Y value of a line at X in a chart in VBA 28 28
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

726 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