Call user defined word vba function from C#

A

AP

Hi,

If I have created a word template that has a VBA function that I defined in
it, is there anyway I can call this function from C#?

Adam
 
A

AP

I found that I could do it using the word object library Application.Run
method, however this only works with no parameters. When I try and pass a
parameter I get a COM Exception that says Member Not Found. How can I fix
this?

Thanks,

Adam
 

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