#1   Report Post  
Posted to microsoft.public.word.docmanagement,microsoft.public.word.vba.general
greg greg is offline
external usenet poster
 
Posts: 4
Default password protected

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?

thanks


  #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


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to open password protected word file (forgot password) Sreenivasan M J Microsoft Word Help 2 May 4th 23 02:52 PM
opening password protected doc zafar Microsoft Word Help 1 May 6th 06 11:39 PM
password protected Scudo New Users 1 July 28th 05 05:32 PM
Protected to Unrpotected without Protected Password Living Large Microsoft Word Help 1 July 20th 05 08:36 PM
Password protected template Jason Reichenbach Microsoft Word Help 0 February 22nd 05 04:59 PM


All times are GMT +1. The time now is 06:19 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"