Access addin attributes and parameters:

I have written a class that can have access to a database and collect some information. Then based in this information it will create am excel template and lunch this template.

In the other hand I have created an addin which should synchronize with my class.

1-Before launching my template I need to set some properties in my addin

2-During the runtime my addin should be able to send info to my class.

3-Addin should be able to receive info from my class.

Is there any way that I can have access to my excel template’s addin instance?

Thank you in advance. Your help will be appreciated.

PS: I could create an instance of my addin .but when I launch my template it will create a new instance of my addin
[2390 byte] By [Maysam] at [2007-12-20]