I think you just need to create a COM server with the Python function, then create a wrapper function (with VBA) in a module (within the spreadsheet). Isn't?
Hugs, Junior (http://www.gs.kitbr.com/) "Quem controla o passado, controla o futuro; quem controla o presente controla o passado." (1984, George Orwell) _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32