Ask Your Question

Revision history [back]

Is it possible to use OpenCV from the Excel/VBA programming environment ?

Is it possible to use OpenCV from the Excel/VBA programming environment ?

I could not find documentation on the net about this.

Usually extra libraries are added from the VBA IDE in Tools->References using what excel's documentation calls "Object libraries". They are supposed to be .olb files but I see many .dll files in there.

Another way that it could be using from inside VBA is by using the "lib" parameter of function declaration.

For example

Public Declare Function EnableWindow Lib "user32.dll" (ByVal hWnd As Long, ByVal fEnable As Long) As Long

Here user32.dll would be some opencv dll and each function in that dll would be declared.

Is such a thing even possible ?

thanks !