G
Gabe Knuth
Hi all,
I've tried a few ways to do this (which are gone now, otherwise I'd
post them...sorry), but I'm not having much luck, if any.
What I'd like to do is search a Word doc for terms that are contained
in a text file (each term on a new line), then record the term and the
page number it appeared on to another text file - creating an index,
essentially.
Reading the text file is no big deal, I don't think. I've done that
with VBS before, so it can't be /that/ different in VBA.
What I need to figure out how to do is search the Word doc and return
the page number. I think I have to use a range for this in order to
get the correct page number, but this is all pretty new to me.
So, if anyone can help, I'd appreciate it.
Thanks!
Gabe
I've tried a few ways to do this (which are gone now, otherwise I'd
post them...sorry), but I'm not having much luck, if any.
What I'd like to do is search a Word doc for terms that are contained
in a text file (each term on a new line), then record the term and the
page number it appeared on to another text file - creating an index,
essentially.
Reading the text file is no big deal, I don't think. I've done that
with VBS before, so it can't be /that/ different in VBA.
What I need to figure out how to do is search the Word doc and return
the page number. I think I have to use a range for this in order to
get the correct page number, but this is all pretty new to me.
So, if anyone can help, I'd appreciate it.
Thanks!
Gabe