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)