Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search word document

Status
Not open for further replies.

kafmil

Technical User
Jul 15, 2002
71
AU
How would i go about doing a text search through a microsoft word document using a vb 6.0 program.
a regular text search doesn't work as the document is encoded.
Thanks
 
Firstly, you are in the wrong forum. You need to ask this question in an office/word related newgroup.

Secondly, a text search in fact does work. Try it using Windows Search, and type in the expression you want to search in the containing text field. Word document has its format and everything encoded. However, the actual text is still there. You can always open a word document using a notepad, and have a good for yourself.

Thirdly, if you really want to, you can always use Word object model. With that, you can use native search functions within the Application object of word.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top