User defined functions through Automation in Excel 2003

2006-09-03 Thread jpgreenwald
Hi all, Im trying to create user defined functions (ones that you can use in the cells of excel) in python. I know that its a ...dumb... thing to do since its a lot easier in other languages (vb,c#, vc..etc) but Im stuck on seeing if I can get this to work. Currently I have written a simple scri

Re: User defined functions through Automation in Excel 2003

2006-09-03 Thread jpgreenwald
Ive been looking more into this subject and now have a few things to add. Im using some c# code that works in doing what I want (adds the function into excel): using System; using System.Runtime.InteropServices; namespace jtest { [ClassInterface(ClassInterfaceType.AutoDual)] public class