Harvi007
For large documents this macro is not efficient enough to perform the vast amount of processing required - 9 hours is certainly too long. It is possible to add an update the Status Bar to show progress but if it is running that slowly, then you have bigger fish to fry.
Working page to page is a concept that doesn't really get you anywhere though and it has the added complexity of having to include the following page content in the search boundary as soon as you are within the distance limit of the end of the page.
This question is largely an academic exercise as far as I'm concerned so I don't want to waste a large block of time to figure out a more efficient way of performing it. Can you explain the value of adding a bunch of highlights to text that indicate proximity of the same word? What value does it add to a document and how does it improve your work?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|