Couple of weeks back I wrote a Addin for VS that does something similar  to 
what you are describing. It was intended as a demo\sample on how to use the DLR 
Hosting API.

It is basically a simple addin for VS that routes all events to a python 
function defined in a '.py' file.   Take a look at this - 
http://blogs.msdn.com/seshadripv/archive/2008/07/17/dlr-hosting-sample-write-event-handlers-for-vs-in-ironpython.aspx.
 If you think this is along the lines of what you want to do, let me know. I 
also started writing a similar thing for excel but didn't go through with it. I 
could probably share that with you if you are interested.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todd Page
Sent: Friday, August 01, 2008 8:36 AM
To: [email protected]
Subject: [IronPython] Creating Excel Add-in with Iron Python

Hi guys,

Just starting to get into IronPython and have been poking around for the last 
few days; but I'm hoping someone can help. Basically, I want to take some 
python (IronPython) code, compile it to a dll (or xll?) and have it function 
like an add-in for excel. So, I could code functions in python and just call 
them as worksheet functions in excel. This is greatly preferable to writing 
VBA!!

Can anyone point me in the right direction? After days of googling all I seem 
to have is 10-12 open tabs and still no concrete answer. Any help is 
appreciated, thanks!

twp
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to