BASIC vs Python
insert at spam.here
Tue Dec 21 05:34:37 CET 2004
Michael Hoffman wrote:
> Gregor Horvath wrote:
> > Or make any given standard python object accessible from MS Excel in 2
> > minutes.
> from win32com.client import Dispatch
> xlApp = Dispatch("Excel.Application")
> xlApp.Visible = 1
> xlApp.ActiveSheet.Cells(1,1).Value = 'Python Rules!'
> xlApp.ActiveWorkbook.ActiveSheet.Cells(1,2).Value = 'Python Rules 2!'
> del xlApp
> (stolen from <http://www.markcarter.me.uk/computing/python/excel.html>)
As already pointed out to you, that is the exact opposite of what the
poster was asking for.
More information about the Python-list