+ Reply to Thread
Results 1 to 5 of 5

lock code from being viewed by other users

  1. #1
    Registered User
    Join Date
    12-13-2011
    Location
    farmington MI
    MS-Off Ver
    Excel 2003
    Posts
    81

    lock code from being viewed by other users

    Well, I would like to lock/Protection my code from being seen by other users as it contains password.
    This is what I’m doing
    I right click on Sheet1->viewCode (opens Microsoft visual Basic)
    I right click on Sheet1(Sheet1)--> VBA project properties,--Protection Tab and enter passwords.
    Next time when I access it DOES NOT ask for password. Am I in right direction?


    Regards
    var

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: lock code from being viewed by other users

    Save, close, and reopen the workbook.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: lock code from being viewed by other users

    You also need to check the box for "Lock project for viewing"
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    12-13-2011
    Location
    farmington MI
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: lock code from being viewed by other users

    thanks shg and jeff..

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: lock code from being viewed by other users

    You're welcome, glad it work for you and thanks for the feedback.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1