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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Microsoft Dynamics GP VBA Showing as Locked

Ian Grieve Profile Picture Ian Grieve 22,784
Microsoft Dynamics GPI was asked to help a customer with a new Microsoft Dynamics GP client installation as they were encountering some issues with some old VBA customisations. Hearing it was a new server, I wondered if the problem was that they had used Windows Server 2019, on which VBA customisations will not work and will actually cause Dynamics GP to crash immediately.

However, when I delved into the issue with them we found that the VBA customisations were showing as locked in the Customisation Maintenance window ((Microsoft Dynamics GP menu » Tools » Customise » Customisation Maintenance)):

Customisation Maintenance windows showing locked VBA

There is a couple of common reasons for this. The first is that the VBA project is locked; to check this open the Microsoft Visual Basic window and click Tools » Microsoft Dynamics GP Properties:

Microsoft Visual Basic window showing the Tools menu

If the Lock project for viewing box is marked, remove the check and click OK:

Microsoft Dynamics GP - Project Properties window

In the case I was investigating tis box was unmarked, so I followed up looking at the second option; that there is a missing reference. From the Tools menu open the References window and check for any missing components; as the screen shot below shows, there was a missing ReportPrinter component:

References window showing missing reference

Once this component was added to the machine, VBA customisations no longer showed as locked:

Customisation Maintenance windows showing VBA is no longer locked

Read original post Microsoft Dynamics GP VBA Showing as Locked at azurecurve|Ramblings of an IT Professional


This was originally posted here.

Comments

*This post is locked for comments