You receive the following error when you import a .package file into Microsoft Dynamics GP:

VBA cannot be initialized. Cannot Import this package because it contains VBA components.


The common shared files for Visual Basic for Applications (VBA) are damaged.


Microsoft Dynamics GP 10.0 and Dynamics GP 9.0:

  1. Open Add or Remove Programs and repair Microsoft Office.
    Note You may be prompted to insert your product CD.

  2. This repairs VBA.

  3. Restart the computer after the repair finishes.

  4. Then try to import your package file again.

Microsoft Business Solutions – Great Plains 8.0:

  1. Reinstall VBA on the computer.

  2. You can find the installation on the Microsoft Business Solutions CD 1 under AdProd\VBA6 folder.

  3. You must be logged in as administrator

  4. Run the Setup.exe file that is found in the Adprod\VBA6 folder.

  5. Restart the computer after the installation is completed.

  6. Then try to import your .package file again.


Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!