Description: This solution describes how to resolve the unhandled exception: Object of type 'ImportOM.CGlobalAPI' cannot be converted to type 'ImportOM.API.iImportSession'
Versions: 2.0 and higher
There is a single line of code that might be missing or changed.
Please add this line in his "Global" section of VBA code: Inherits ImportOM.API.GlobalBase
This should go right under Public Class GlobalCode
If you have any other Inherits statement(s) in the Global section, they will need to be removed or commented out.