I’ve seen the below error message a few times when trying to import VBA customisations and have had to do an investigation each time as to what the problem was, before realising it was exactly the same problem again:
Microsoft Dynamics GP
VBA cannot be initialized. Cannot import this package because it contains VBA components.
This post, is in an attempt to remind myself of what the error is without having to investigate.
The issue each time has been that the registration keys for Microsoft Dynamics GP have not been entered; VBA customisations cannot be imported if the Customisation Site Licence is not registered.
Once the keys are entered, the error goes away and the VBA customisations can be imported without further issue.