How to fix Missing COM (ActiveX) Component error

Edit ArticleEdit Article
See more issues and resolutions


Run-time error '429': ActiveX component can't create object error is displayed when running the macro. Usually the CreateObject function is highlighted:

Dim obj as Object
Set obj = CreateObject("ComComponentProgId")

Run-time error '429': ActiveX component can't create object
Run-time error '429': ActiveX component can't create object


Required COM Component (ActiveX) is not registered on the target machine. This is usually either when target application is not installed (for example Excel, MS Access etc.) or the component is registered in the x32 system while macro is running in x64 environment (since SOLIDWORKS 2012).


Install the required COM components into the correct environment. It might be required to contact the vendor of the component or the developer of the macro for more information about the used ActiveX Component.


All articles and code at CodeStack are now open-source and hosted on GitHub. If you want to contribute by modifying existing articles and code snippets, submitting new ones, reporting errors and bugs etc. please follow this blog post for more information. We appreciate any contribution.

Product of Xarial Product of Xarial