PythonCOM and Office. Arrgh!

Emile van Sebille emile at fenx.com
Wed Jul 11 03:05:59 CEST 2001


"Bill Bell" <bill-bell at bill-bell.hamilton.on.ca> wrote in message
news:mailman.994793537.30396.python-list at python.org...
>
> "Emile van Sebille" <emile at fenx.com> wrote, in part:
> > This worked for me.  Win2ksp1, excel2k, Python 2.1
> >
> > >>> import win32com.client
> > >>> xl = win32com.client.Dispatch("Excel.Application")
> > >>> xlc = win32com.client.constants
> > >>> xl.Workbooks.Open('test',Password='fred')
> > <COMObject Open>
> > >>> xl.Visible=1
> >
> > What do you get when you try this?
>
> Using Win95, Excel 97 SR-1, Python build 203
>
<snip error info>
> This seems to be what the thread's originator experienced.
> Tentatively, appears to relate to version or configuration.
>

I agree.  With win98, excel8 and python1.52 it still works for me.

--

Emile van Sebille
emile at fenx.com




More information about the Python-list mailing list