Please I need Calling Python functions from Excel and receive result back in Excel. Can me somebody advise simplest solution please? I am more VBA programmer than Python.
Cannonbiker wrote: > Please I need Calling Python functions from Excel and receive result > back in Excel. Can me somebody advise simplest solution please? I am > more VBA programmer than Python.
On Nov 15, 2:20 am, Cannonbiker <lusve...@gmail.com> wrote:
> Please I need Calling Python functions from Excel and receive result > back in Excel. Can me somebody advise simplest solution please? I am > more VBA programmer than Python.
> Please I need Calling Python functions from Excel and receive result > back in Excel. Can me somebody advise simplest solution please? I am > more VBA programmer than Python.
>> Please I need Calling Python functions from Excel and receive result >> back in Excel. Can me somebody advise simplest solution please? I am >> more VBA programmer than Python.
>>> Please I need Calling Python functions from Excel and receive result >>> back in Excel. Can me somebody advise simplest solution please? I am >>> more VBA programmer than Python.
>>>> Please I need Calling Python functions from Excel and receive result >>>> back in Excel. Can me somebody advise simplest solution please? I am >>>> more VBA programmer than Python.
if __name__ == '__main__': import win32com.server.register win32com.server.register.UseCommandLine(Example) ---------------------------------------------------------
-------------- Excel Macro ---------------------- Sub Testit() Set ex = CreateObject("MyPython.Example") Range("A1") = ex.Add(1, 2) Range("A2") = ex.Mul(3, 4) End Sub --------------------------------------------------------
Just run the script to register the server. "ex.py --unregister" will remove it.
> >>>> Please I need Calling Python functions from Excel and receive result > >>>> back in Excel. Can me somebody advise simplest solution please? I am > >>>> more VBA programmer than Python.