2. Introduction
In this presentation I am going to show you how to lock
Excel VBA project for viewing using few simple steps.
When users write any VBA Macro code they desired to lock
that code so that other users cannot see and copy their
code.
3. In Excel press Alt+F11 to open VBA macro code. In Microsoft Visual
Basic For Application window click on Tools and then select
VBAProject Properties.
Step 1
4. Now click on Protection tab and check Lock project for viewing, after
that enter and confirm password under Password to view project
properties and click on OK button.
Step 2
5. Now Save the Excel workbook as Excel Macro-Enabled Workbook
format and close it. Next time when you try to see VBA Macro code it will
ask you for password.
Step 3
6. Conclusion
In this presentation I have showed you how to lock VBA
code in Excel in three simple steps.
But what if the password of VBA project get misplaced or
forgotten. In such situation users can take the help of third
party VBA password remover to recover lost password.
Tool link: http://www.vbapasswordrecovery.org/