Hi =?Utf-8?B?VFJN?=,
This isn't an error message. It's an application message. And you certainly
can't trap it because your code won't be running...
Now, if you're telling me that
1. You're automating Word 2002 or 2003
2. You're automating opening documents from code that's already running
Then I can point you at the Application.AutomationSecurity property that will
let you control how documents are opened and closed from within your code
without displaying the alert.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail