• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

Macro to highlight a selected text in word 2007

Hi,
How to have a macro which runs as soon as I select a text in word to highlight it.

Cheers
0
RIAS
Asked:
RIAS
1 Solution
 
KCTSCommented:
What are you trying to do - what's wrong the the highlighter tool ?
0
 
RIASAuthor Commented:
thanks for the reply.
For using the highlighter tool ,I need to select a text and then highlight it.
Macro will be faster as soon as I select the text it will highlighted.

Cheers
0
 
dlc110161Commented:
Macro's need events to trigger them. I think you will have terrible results if you try to tie something to the OnClick event. Most macros are setup so that they run when someone presses a key combination or clicks a button.

So, for your needs, I would suggest that you figure out the keystrokes for enabling the highlighter tool and then use that to highlight. That way you will eliminate your need for clicking the mouse. In Word 2007, I believe that ALT, H, I will highlight for you.

Dawn Bleuel
Word MVP
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now