Hi Susan,
In my code, the Style to search for is defined in the line:
.Style = "myStyle"
With Word's Find.Execute method, the found range automatically becomes the active range. And, when the Bookmarks.Add method is invoked without specifying the range to bookmark, it bookmarks the active range. I could have added .Duplicate as the optional Range parameter, but that would have been redundant.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|