Maybe, but I've never seen anything in Word related to permission rights when
actually EDITING a document. Opening, saving, and not being able to *continue*
editing because TEMP files can't be managed properly, yes. And the latter
could be a factor, but I'd expect you to get an error message (such as "out of
memory") if that were the case.
But there's a way to find out exactly what is happening when the code runs,
and what is not:
Add some lines to the program that will pause execution after
- the search term is found
?Has the search term actually been found in the document (if you're using
Range.Find, stick a range.Select in there so that you can see what's been
- the replacement for the found term is made
?Has the replacement actually been put there, or not?
- and when the second "Find" is successful
? if the replacement was actually made the first time, is it still there?
(last update Sep 30 2003)
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)