Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-24-2020, 01:16 PM
eduzs eduzs is offline Highlight every occurrence of ... Windows 10 Highlight every occurrence of ... Office 2019
Expert
Highlight every occurrence of ...
 
Join Date: May 2017
Posts: 266
eduzs is on a distinguished road
Default Highlight every occurrence of ...

How to programmatically (VBA) highlight in yellow any occurrence of " " (two blank spaces) in a document?


The code must select the character before and after, for the highlight to work, like
"? ?".
Thanks!
__________________
Backup your original file before doing any modification.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
highlight bar freeriding Project 0 12-07-2018 05:25 AM
Highlight every occurrence of ... Deleting all but one occurrence of text from a selection paik1002 Word VBA 3 12-15-2015 05:17 PM
Highlight every occurrence of ... VBA to highlight words if used too much aolszewski Word VBA 3 11-23-2013 02:07 AM
Highlight every occurrence of ... Mysterious bottom row occurrence Ulodesk Word Tables 2 05-26-2013 02:44 PM
find - reading highlight - highlight all / highlight doesn't stick when saved bobk544 Word 3 04-15-2009 03:31 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:00 AM.


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