C
cjbailey
I have been asked to write a macro to compare 2 word documents.
Basically the macro needs to search documents for keywords and coun
the number of times they appear in each document. The problem come
that the word list isn't specified and they want to be able to specif
a list of words which are excluded rather than those to search for.
don't know much about macro's within word, but I guess that this woul
be fairly time consuming when it comes to running the macro, an
although time isn't a major issue, it would be nice to have
reasonably quick macro.
The way I am currently thinking is that each word will have to b
extracted, compared against a list of words to be excluded then adde
into a table if it isn't in the exclusion list. The table will have t
be searched before the word is added though so that a count of 1 can b
added if the word has been extracted before!
I have done a lot of VBA programming within excel and guess that th
word version is similar. Basically I would like suggestion
of how to do this quickly and efficiently.
Is there an EOF() equivalent within word as well? If not, then how d
I gauge when it is the end of the document?
Cheers,
Chris Baile
Basically the macro needs to search documents for keywords and coun
the number of times they appear in each document. The problem come
that the word list isn't specified and they want to be able to specif
a list of words which are excluded rather than those to search for.
don't know much about macro's within word, but I guess that this woul
be fairly time consuming when it comes to running the macro, an
although time isn't a major issue, it would be nice to have
reasonably quick macro.
The way I am currently thinking is that each word will have to b
extracted, compared against a list of words to be excluded then adde
into a table if it isn't in the exclusion list. The table will have t
be searched before the word is added though so that a count of 1 can b
added if the word has been extracted before!
I have done a lot of VBA programming within excel and guess that th
word version is similar. Basically I would like suggestion
of how to do this quickly and efficiently.
Is there an EOF() equivalent within word as well? If not, then how d
I gauge when it is the end of the document?
Cheers,
Chris Baile