application name in com-addin

J

Jayashri Yadav

Hi,

If I make one com-addin for several office applications, how can I find
which office application I am working with from the application object in
OnConnection routine.

Thanks.
 
T

Thomas Möller

Hello Jayashri,

Jayashri Yadav said:
If I make one com-addin for several office applications, how can I
find which office application I am working with from the application
object in OnConnection routine.

have you ever tried

Debug.Print Application.Name

CU
 
J

Jayashri Yadav

Hi

Yes,

I did try that. It says system._comObject

it does not give the classname of the host application.
 
P

pavan

I'm not sure about that. But you can as well try to read the version
from registry
 

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