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!