p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Word VBA (http://p2p.wrox.com/forumdisplay.php?f=231)
-   -   Protect Document Limitations (http://p2p.wrox.com/showthread.php?t=41049)

Bob Hansen April 10th, 2006 10:34 AM

Protect Document Limitations
 
I need to retain the ability to lock documents, but need to limit the password to the current users network password.

History:
Employees have need to lock documents, but when they leave employment, we may no longer have access to corporate documents. But, if we allow them to lock documents, but only use their own password, then we can open up documents after terminations. We could assign each employee a special password to use with Word, but that would reaquire ongoing maintenance with hiring and terminations, so would prefer to use existing network passwords. Passwords are stored in an Access database and could be looked up from there.

Solution:
Looking for code that does the following:
Allows them to select Tools/Protect Document, but will only allow them to enter their current network password (or a special Word password for them). If password entered does not match, then locking document will not be allowed.

Environment:
Word97 on Win95 and Win98 workstations.


All times are GMT -4. The time now is 04:38 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.