find and select next line

R

Rick

I want to be able to scan thru a document for a word sent
to it via automation from ACCESS. the document is set up
such that the next complete line in the document under the
searched for word is the line i want to extract into an
ACCESS database and then return to the document to search
for any other instances of the search word and the
corresponding next line. I understand the automation piece
but am unable to get the word portion of the code to work
properly. i am confused about the range and selection
methods and properties...

so essentiall i want the following:

start loop from access db list
send word to word docment for searching
start search for word
find word or not
extract next sentence to access db or not
continue search til end of document then
loop to next word

TIA
Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top