web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

How to Unlock Vba package in dynamics gp

(0) ShareShare
ReportReport
Posted on by 592

Solution 1:

                 

To unlock the VBA project, follow these steps:

Start Microsoft Dynamics GP, and then start the VBA editor by going to Tools, click Customize, and then click Visual Basic Editor.

After you are in the VBA editor, open the project that contains the modified windows that you are trying to export.

As soon as you open it, you will receive a password prompt. Enter the password, and then click OK.

After you are in the project, you have to unlock it before you can export. To unlock it, follow these steps:

Locate Tools, and then select [Project name] Properties, where [Project name] is the name of the locked project.

As soon as the Properties window opens, click the Protection tab, and then click to clear the Lock project for viewing check box.

Click OK, save your project, and then exit the VBA editor.

After you are back in Microsoft Dynamics GP, you will be able to export your Forms with VBA.

Solution 2:

If the VBA project is not password protected, check the references in the Visual Basic Editor to see whether references are missing for the VBA project.

To check the references, follow these steps:

In Microsoft Dynamics GP, start the Visual Basic Editor. To start the Visual Basic Editor, click Tools, click Customize, and then click Visual Basic Editor.

In the Project Explorer window, select the VBA project.

Click Tools, and then click References.

Scroll through the list of references, and determine whether any references display missing.

Click to clear any references that display missing.

Close the References window, and then exit the Visual Basic Editor.

Click Tools, click Customize, click Customization Maintenance, and then export the package file.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: How to Unlock Vba package in dynamics gp

    Thank you, my friend

  • Atif Hafeez Profile Picture
    40 on at
    RE: How to Unlock Vba package in dynamics gp

    If we do not know the password then how we can un protect the project.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans