I want to search for a word in a word document. Then extract the whole paragraph the word appears in.
I am able to do the searching part but I cannot get this line of code to realize that the word is found:
It keeps returning false even though the word has been found and replaced.
Any help will be appreciated. Does anyone have an example of this?