Taking a look at your code, it's possible the problem could be related to the search parameters you set in your query. For example, if you are looking for the text "X-" and there is no such string in your document, the Find method will return False. It might be worth checking that your text "X-" actually exists in your document.
|