Microsoft Office Forums

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 offline Undo highlighted text Windows 7 64bit Undo highlighted text Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 3,871
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
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

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Undo highlighted text Copy paste highlighted text to another doc MSoffice1 Word VBA 17 04-16-2022 06:45 AM
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
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

Other Forums: Access Forums

All times are GMT -7. The time now is 09:45 AM.


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