The Microsoft_Dynamics_GP.vba project references some objects that cannot be found. these objects are listed in the file: C:\Program Files\Microsoft Dynamics\GP\Dynamics.txt.

Error message shown sometimes upon the first launch of GP, and when you open the Dynamics.txt, a list of controls displayed.

When the user creates a new controls using Modifier and adds those controls to VBA, VBA will create references for those fields in the VBA file, while the modifier stores those objects in the FORMS.Dic.

So if the FORMS.Dic deleted, or those fields were deleted from the Forms.dic this message will keep showing up informing you that those objects does not exist and you VBA code will not work.

The solution for this is one of two:

1. Since there is no way to “Remove Field from VBA” then you will need to follow steps below:

A. Copy the VBA code into notepad.

B. Remove the complete form from VBA.

C. Re-add the form to VBA.

D. Add ONLY needed fields to VBA

E. Replace your code.

2. If you are looking only to ignore this message and prevent it from being shown, you may need create a file called “DEXVBA.INI” in your WINDOWS folder and place the following code segments inside it:



Hope this helps!



Mohammad R. Daoud
Software Development Manager
+962 – 79 – 999 65 85
Great Package For Business Solutions


About Mohammad R. Daoud
Mohammad R. Daoud has been working as a Microsoft Dynamics GP consultant since 2004. His career path started with version 7.5; he studied every single tip of the application technicalities and did allot of successful implementations that includes functional consultations, analysis, and custom development projects. He holds a graduate degree in Computer Science and currently he is pursuing MBA degree in Accounting. In January 2007 he was nominated to the Microsoft Most Valuable Professional (MVP) certificate and was certified in April 2008 due to his online contributions in the Dynamics Community (Dynamics GP Newsgroups, Forums, User Groups and his blog: Worth to mention that he was also listed as one of the Microsoft Dynamics Top 100 Most Influential People in 2009 by DynamicsWorld. And more... • Demonstrated Passion for MS Products through participating in beta testing for some product versions, an effective member of Microsoft Connect. • Talented in securing strong high quality relationships with premier customers, partners and sales teams passionately and profitably. • Dedicated to meeting the expectations and requirements of internal and/or external customers • Problem Solver – Uses systematic approach to uncover true problem(s) and practical solution and can marshal resources to solve problem! • Proven record of effective account management, including Account Planning, Opportunity Management, and Business Management Excellence and working as part of a larger virtual team • Successful in delivering high quality technical engagements in the enterprise Dynamics GP implementations area according to customer requirements. • Dedicated, Committed, Self Motivated, Creative and highly focused with excellent communication, Negotiation, presentation, Active Listening and Objection Handling skills. • Experienced in Profitable researches and studies including white papers and technical presentations.

5 Responses to The Microsoft_Dynamics_GP.vba project references some objects that cannot be found. these objects are listed in the file: C:\Program Files\Microsoft Dynamics\GP\Dynamics.txt.

  1. Michael Johnson has another solution for removing invalid references from VBA, checkout his post below:

  2. kate says:

    Okies. I’ll be checking this article. Thank you for sharing.

  3. This looks interesting. Thanks for posting.

  4. F says:

    I got this message opening Dynamics GP 10 Utilities
    i enter user and password but then it hangs up and i cant create a new company
    any help with that please?


  5. Stephan says:

    I have modified a clean report and added one calculated field to the report. Added the field to VBA and made one line of code referencing this field. I close Dynamics and it launch utilities and get this error message. Have no idea why? Any suggestions?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: