View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Greg Glynn Greg Glynn is offline
external usenet poster
 
Posts: 137
Default Check the value of Password

Yeah,

We EXCEL guys don't like to mix with you WORD guys ... We're deeply
suspicious of you, and you're all Funny Lookin'

;-)


Greg


NickHK wrote:
Again, this is an Excel group, not Word, but....

You say "I know to supply the password using VB", so what is the problem
then ?

NickHK

"Amit" wrote in message
...
See Nick

U didnt get the point. Its not only about word. its about using VB!
Other thing is that I am the one supplying Password. So, there ought to be
some way out!

"NickHK" wrote:

If this a Word question, you're in the wrong group, but....
If you think about it, being able to check the existing password would

be a
pretty stupid capability, as then the password would be useless.
What you can do is use the password(s) you have and trap the error if

the
opening fails.

NickHK

"Amit" wrote in message
...
Can I make a sub-routine to check the Password required to Open the

Word
Document?
Actually I want that the password to open a particular document

changes
(every time it is openend). The password should be from an already
supplied
list (minimum three passwords).
I know to supply the password using VB but dont know how to check the
existing password, so that I can use 'IF' to change the Password.

Please help!