I am working with VBA, in Microsoft Office 2007 and 2003 (Word specifically).
What I need is to use a custom COM object from VBA and use its methods. I already do it in Word 2007 but it crashed in Word 2003.
This is the command that I am using:
Dim oCOM as Object.
Set oCOM = CreateObject("COMDLL.COMObj")
I got this error:
File or assembly name COMDLL, or one of its dependencies, was not found.
How to make it work for Office 2003?
The Problem was not create the COM object, It was an Office bug so I fixed it with a Microsoft update for Office 2003.
Here is the update URL:
Update for Office 2003 (KB907417)