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.
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.
Very good start.keep writing posts.
ReplyDelete