This project has moved. For the latest updates, please go here.

Access protected static object Excel.Application from outside class

Jun 28 at 10:19 AM
Hello !

Thank you for your office toolbox, it's really cool !
I'm currently developping an Addin in C# for Excel with SharpDevelop.
Some of the interactions open some popups containing several controls where the user can enter some text. The problem is that I wanted to access the worksheets, cells etc... but the object Excel.Application isn't accessible from my popup class in any way.
(I noticed while browsing the net that Visual Studio automatically create a class called Globals with all the static objects from the package. Is there any mean to reproduce it ?)
Maybe some people have encountered the same issue ?
Thank you for your help.

Best regards,
Imad.