Hi, this method works perfectly in isolation. The issue is that the code I've inherited does a Find using a Selection. So, modifying the selection by extending it breaks the Find.
Quote:
Originally Posted by vivka
Hi, hss001! I'm repeating my answer: after finding & selecting your word use the following three lines:
Code:
selection.Extend
selection.Extend
selection.Extend
|