Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX and VBA , Word Macros

Status
Not open for further replies.

Migx

Programmer
May 28, 2001
1
PT
ello
I have an ActiveX control made in C++.
Now I need to have acess to that control ( to invoke it's methods ) in a VBA script , a Word Macro.

Is it possiblle ?
If so how do I do that ?
tks
 
Yes it is.
dim xxx as object
set xxx= CreateObject("yourObject ID Or CLSID")
xxx.property=something
something=xxx.property
xxx.onemethod(parameter)
set xxx = nothing 'calls IUnknown.Release(); John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top