View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement,microsoft.public.word.vba.general
Jean-Guy Marcil Jean-Guy Marcil is offline
external usenet poster
 
Posts: 67
Default password protected

greg was telling us:
greg nous racontait que :

Hello,
I need to write a program to open and update a bunch of word
documents. problem is, that some are password protected.
and if i hit them, then the user password dialog opens.
is there a way to tell if a document is password protected? an open
command?
so i know to skip that document?


Try this:
http://word.mvps.org/FAQs/MacrosVBA/...tectB4Open.htm


--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
ISTOO
Word MVP site:
http://www.word.mvps.org