View Single Post
 
Old 06-07-2018, 12:22 PM
d4okeefe d4okeefe is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Apr 2013
Posts: 77
d4okeefe is on a distinguished road
Default

You can step through to see what's happening using F8.
Code:
Do While .Execute
carries out the Selection.Find operation. In this case example, all of the user-selected text has been marked "whtcolor", and the while loop changes each one that is marked.
Reply With Quote