Assuming you've already got some kind of looping structure in place, I'd use a 
try..catch around that problematic query. If you get an error object, move on 
to the next item in your list. It shouldn't be that messy... <g>

rk

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Jarvis, Matthew
Sent: Wednesday, May 05, 2010 12:24 PM
To: [email protected]
Subject: [NF] Automation - protected Word docs

Does anyone know of a way to ask Word about the doc such that it tells
me if I can go ahead and mess with it?? Or am I going to have to write
some messy error trapping code?

 


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/df1eef11e586a64fb54a97f22a8bd0440682815...@ackbwddqh1.artfact.local
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to