Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
Word VBA Discuss using VBA to program Word.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Word VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 10th, 2006, 10:34 AM
Authorized User
Join Date: May 2004
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default Protect Document Limitations

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

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.

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.

Word97 on Win95 and Win98 workstations.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Limitations rfurman1161 Access 2 April 5th, 2006 01:45 AM
Protect a Word document zengfu Excel VBA 1 March 28th, 2005 11:00 AM
Protect a Word document zengfu Pro VB 6 0 March 28th, 2005 08:40 AM
Limitations of Replace philstaite BOOK: Beginning ASP 3.0 5 September 10th, 2004 10:07 AM
MSAccess Limitations if any happygv Access 5 April 19th, 2004 08:45 PM

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