word document manipulation in VB 6


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?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!