Exposing vb.net procedures

J

John

Hi

How can I expose procedures (function or sub) in my vb.net app to vba in
word?

Thanks

Regards
 
J

Jonathan West

Hi John,

The VB.NET project must be saved as an ActiveX DLL. Then you can access the
DLL either by setting a reference in Tools References in the VBA editor, or
by using late binding, and creating an object variable with the reference
using the CreateObject command.
 
J

John

Hi

How do I save the vb.net app as activex dll? Is activex dll supported in
..net apps?

Thanks

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top