Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error "VBA Cannot be initialized. Cannot Import this package because it contains VBA components." when importing a package file in Microsoft Dynamics GP


Symptoms

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.

↑ Back to the top


Cause

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

↑ Back to the top


Resolution

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.

↑ Back to the top


Keywords: kbmbsvba, kberrmsg, kbsurveynew, kbexpertisebeginner, kbtshoot, kbprb, kbexpertiseinter, kbmbspartner, kbmbsmigrate, kb

↑ Back to the top

Article Info
Article ID : 861062
Revision : 1
Created on : 3/13/2017
Published on : 7/15/2011
Exists online : False
Views : 89