DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: password protected vba code

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    password protected vba code

    [Originally posted by Hohm]


    Can somebody help me to write with code the password protection for the modules?I can do it by hand in the following way:
    1. open any module in design view
    2. choose Tools,ProjectNames Properties
    3. Mark the Lock object for viewing check box and type and confrim the pasword in the other text boxes.
    4. close and repoen the database.

    I will be very grateful if somebody can provide me the code i can wirte instead of the above manual actions.

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:password protected vba code

    [Originally posted by Ron Weller]

    There is no way to programmatically specify a password for a locked VBA project.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center