• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Can I locka worksheet so user cant see its vb coding

Ateeb Ali

Member
Dear Sir
I have a excel sheet which password protected.

Though there are many macros in the file with vb coding.

When user click the different buttons link with different coding, it run first to unlock sheet, run macro then lock the sheet.

Now issue is every user can press ALT+F11 and can see the password of the sheet in VB modules.

Is there a way to restrict user that they cant go to VB modules or is there a way to hide the password in coding?
 
It is in Dutch but the location should be the same.
Step 1.jpg

Step 2.jpg

Step 3.jpg
 

Attachments

  • Step 4.jpg
    Step 4.jpg
    471 KB · Views: 2
Back
Top