Friday, April 19, 2013

How to secure VBA projects?

Here are the simple steps to protect your VBA code from unauthorized person.

Step 1: Open Visual Basic Editor. Go to Microsoft Dynamics GPàToolsàCustomizeàVisual Basic Editor.

Step 2: Right click on the relevant project and select the project properties options. One can access the project properties window by using the Tools menu, too.

Step 3: Click the Protection Tab and check the Lock project for viewing check box.

Step 4: Enter a password to prevent unauthorized access.

Step 5: Click OK to apply the settings.

Step 6: Save your VBA project and exit from Dynamics GP. When you try to open the VBA project next time you will be prompted to enter a password to view the content.

Hope this helps!!!

No comments:

Post a Comment