Click to See Complete Forum and Search --> : How to call a OCX in VBA


migx
May 29th, 2001, 07:28 AM
ello
My problem is the following:

I have an ActiveX made in C++.
Now I want to invoke it's methods , have acess to some var's of it in a Word macro, VBA.
How do I do this ??

migx
May 29th, 2001, 07:38 AM
word 2000 btw , dunno if it makes any diference

Migx
http://www.speech.inesc.pt

richardj
May 29th, 2001, 08:23 AM
In the VBA editor, from the 'Tools' menu click 'References'; in the dialogue which then appears, if necessary change the 'Files of type:' filter to 'ActiveX controls (*.ocx)'.

The control(s) should then be visible in the editor, and in the Object Browser.

migx
May 29th, 2001, 04:03 PM
Hey
it worked m8, tks a lot :)

Migx
http://www.speech.inesc.pt