Dynamics GP 18.7 VBA Customizations

  • Dynamics GP 18.7 VBA Customizations

    Posted by David Morinello@mttsvc.com on February 9, 2026 at 5:03 pm

    I am running into an odd issue when trying to clean up VBA customizations in GP 18.7.

    The VBA customizations keep coming back when clearing and importing a package file.

    ***************************************************

    1. I started with a test environment used to pre-test the GP 18.7, so it is configured with the same modules and 3rd party.

    2. With GP shut down, I removed all .VBA files in the main GP folder C:\Program Files (x86)\Microsoft Dynamics\GP$18_7

    3. I replaced the .DIC files with clean empty dictionaries from a new clean GP installation.

    4. Opened GP and nothing appears in the Customization Maintenance screen. Nothing in the Visual Basic e

    5. I Imported a copy of the Production package file containing all current customizations, including multiple ā€œForm with VBAā€ & ā€œModified Form with VBAā€.

    6. On the test system I exported all Non-VBA customizations to a new package file.

    7. Cleared dictionary & VBA files again (steps 2-4)

    8. Imported the new package file from step #6 that does not show any VBA.

    Interesting note: The GP Import Package File screen lists no VBA forms.

    9. After the import, the Customization Maintenance screen shows VBA customizations are back. Both ā€œForm with VBAā€ & ā€œModified Form with VBAā€. VBA is back in the Visual Basic Editor.

    It’s been a while since I’ve seen a new one from GP.

    What step am I missing in clearing out VBA?

    David david@winthropdc.com replied 2 months, 1 week ago 3 Members · 2 Replies
  • 2 Replies
  • Donny Kensmoe

    Member
    February 9, 2026 at 5:42 pm
    Up
    0
    Down
    ::

    Open your new package file in notepad and do a search for VBA. Do you see it listed in the package file anywhere?

  • David david@winthropdc.com

    Member
    February 9, 2026 at 10:33 pm
    Up
    0
    Down
    ::

    Hi David

    You need to remove the VBA so you can recode the business logic using GP Power Tools. 😁

    Your technique should work.

    1) Import packages with VBA

    2) Exit GP and delete all .VBA files.

    3) Go back into GP and export packages without VBA.

    My usual approach is actually to keep the VBA in a system until the GPPT scripts are written to replace each part and then remove the window from VBA. Once all the code has been converted, then delete the .VBA files to cleanup.

    David

Log in to reply.

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!