Hi. This seem to have helped address the random pages printing. Thank you!
That said, i'm now running into the issue that pages that contain (but don't match) are printing. For example, "Word1" is in the array so "Word1", "Word10", "Word11", "Word 12", etc. also print.
I attempted to change:
to
Code:
.MatchWholeWord = True
With oStory.Find
however doing this didn't seem to allow the array to execute for "Word2", "Word3", "Word4", etc.
Is there a better way to require the find command to match the exact word?