P
Pete
Hello - I bet this is simple... but any help would be
great! I'm a fairly experienced programmer, but just
starting with a VB app driving Word. I have a document
that I know contains a particular word, and I wish to
obtain the text of the page the word is found within. In
other words, I guess I need to search for this word, then
somehow define a range for the entire surrounding page,
then return that text. The page is defined by page breaks
(or, if it's easier, I can search for another known word
that would indicate the end of the required section).
I've played around with ranges and selections but I must
be missing something...
Thanks! Pete
great! I'm a fairly experienced programmer, but just
starting with a VB app driving Word. I have a document
that I know contains a particular word, and I wish to
obtain the text of the page the word is found within. In
other words, I guess I need to search for this word, then
somehow define a range for the entire surrounding page,
then return that text. The page is defined by page breaks
(or, if it's easier, I can search for another known word
that would indicate the end of the required section).
I've played around with ranges and selections but I must
be missing something...
Thanks! Pete