But this works in Word 2000, the entry in the recentfile list is removed
because the filename no longer exists. All that first section is doing is
parsing RecentFiles for filenames/paths, it isn't checking their existence
until the section after where it fails.
Perhaps you can suggest why it is failing there where indicated?
Mark
> G'day no.mail@reply.here (Mark),
>
[quoted text clipped - 51 lines]
> >
> >Mark
Word Heretic - 05 Jan 2005 23:38 GMT
G'day no.mail@reply.here (Mark),
When it fails, note the filepath of the object and look it up. I bet
you it is one of the missing ones. Word 2k doesnt validate these
entries, Word 2003 might. If the failing object doesn't exist on the
disk as indicated, then your on error can immediately flag that entry
as bad and remove it on the spot. I would also throw a debug statement
in to see whether any of teh netries are thus processed by your
existing logic in Word 2003.
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
Mark reckoned:
>But this works in Word 2000, the entry in the recentfile list is removed
>because the filename no longer exists. All that first section is doing is
[quoted text clipped - 58 lines]
>> >
>> >Mark