Microsoft Office Forums Undo highlighted text

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-27-2014, 09:56 AM
rohanrohith rohanrohith is offline Undo highlighted text Windows 7 32bit Undo highlighted text Office 2010 32bit
Novice
Undo highlighted text
 
Join Date: Nov 2014
Posts: 2
rohanrohith is on a distinguished road
Default Undo highlighted text

Hi friends,



macro to find the text is highlighted text and i undo highlight. with macro.
Reply With Quote
  #2  
Old 11-27-2014, 04:02 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is online now Undo highlighted text Windows 7 64bit Undo highlighted text Office 2013
Expert
 
Join Date: Aug 2011
Posts: 3,160
Stefan Blom is a glorious beacon of lightStefan Blom is a glorious beacon of lightStefan Blom is a glorious beacon of lightStefan Blom is a glorious beacon of lightStefan Blom is a glorious beacon of light
Default

To remove all highlighting in the main body of the document at once, use the following line of code:

Code:
ActiveDocument.Content.HighlightColorIndex = wdNoHighlight
__________________
Stefan Blom
Microsoft Word MVP
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Undo highlighted text Formatting- Apply changes to highlighted text results in same change to other text sential Word 6 01-10-2014 03:22 PM
Undo highlighted text Copy paste highlighted text to another doc MSoffice1 Word VBA 9 07-18-2013 10:35 AM
Delete button does not work with highlighted text edmund36 Word 3 10-17-2011 02:34 AM
Undo highlighted text Remove highlighted text when inserting comments Iammuffinman Word 3 01-27-2011 02:02 AM
Highlighted text won't delete - when I press enter Gague Word 2 07-09-2010 12:53 PM


All times are GMT -7. The time now is 05:20 PM.


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