Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation - Finding strings
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00541649
Message ID:
00541723
Views:
16
I think that instead of plain FIND/Search you should use GOTO(line) method and analyze the string in the line.

>>>>>>>>>>>>>>> your question below >>>>>>>>>>>
Hi, I need to scan all Word documents from a hard disk, trying to find some kind of documents. I know that these documents have 2 strings, one above the other, like:

First string in line 14
Second string in line 15

These strings can be found in another sections of the document, but in just one case (the one that I need, one above the other) they identify the documents that I´m looking for.
I know how to search the strings, but I don´t know how to retrieve the lines where they were found. Any ideas?

Regards,
Previous
Reply
Map
View

Click here to load this message in the networking platform