Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-07-2011, 04:23 PM
gmaxey gmaxey is offline highlighting Windows XP highlighting Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

You can do that with a vba procedure:

Sub ScratchMacro()
Dim oRng As Range
Set oRng = ActiveDocument.Content
With oRng.Find
.ClearFormatting
.Text = "\(<*>\)"
.Forward = True
.Wrap = wdFindStop
.MatchWildcards = True
Do While .Execute
With oRng
.HighlightColorIndex = wdYellow
.Collapse wdCollapseEnd
End With
Loop
End With
End Sub

For help installing and using this macro see: http://www.gmayor.com/installing_macro.htm
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
highlighting Line Highlighting britmaniee Excel 1 06-29-2011 12:59 AM
HELP: Automatically highlighting problem unhappyuser PowerPoint 0 05-03-2011 02:52 PM
Easier highlighting? atarei Word 0 08-27-2010 05:28 PM
Cell highlighting Issue jasonk916 Excel 0 12-07-2009 07:05 AM
Text Highlighting in Yellow ??? mark4man Publisher 0 12-15-2005 06:46 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft