RE: Dispatch("Excel.Application") failed

2008-03-13 Thread lialie
On Behalf Of John Machin > > > '\xce\xde\xd0\xa7\xb5\xc4\xc0\xe0\xb1\xf0\xd7\xd6\xb7\xfb\xb4\xae', > > > None, None) > > > Googling for 2147221005 gives some clues. > > That string of hex stuff appears where an error message is > expected -- it'

RE: Dispatch("Excel.Application") failed

2008-03-13 Thread Ryan Ginstrom
> On Behalf Of John Machin > > '\xce\xde\xd0\xa7\xb5\xc4\xc0\xe0\xb1\xf0\xd7\xd6\xb7\xfb\xb4\xae', > > None, None) > > Googling for 2147221005 gives some clues. > > That string of hex stuff appears where an error message is > expected -- it's not utf8, and makes no sense when I attempt > to dec

Re: Dispatch("Excel.Application") failed

2008-03-13 Thread John Machin
On Mar 13, 5:02 pm, lialie <[EMAIL PROTECTED]> wrote: > Hi, > Maybe it 's quite simple, but I can't fix it. Do I make some mistakes in > my env setting? My excel version is 2003. > any suggestion? Thanks. > > Traceback (most recent call last): > File "testexcel.py", line 3, in ? > excel = Dispatch(

Re: Dispatch("Excel.Application") failed

2008-03-13 Thread Mike Driscoll
On Mar 13, 1:02 am, lialie <[EMAIL PROTECTED]> wrote: > Hi, > Maybe it 's quite simple, but I can't fix it. Do I make some mistakes in > my env setting? My excel version is 2003. > any suggestion? Thanks. > > Traceback (most recent call last): > File "testexcel.py", line 3, in ? > excel = Dispatch(

Dispatch("Excel.Application") failed

2008-03-12 Thread lialie
Hi, Maybe it 's quite simple, but I can't fix it. Do I make some mistakes in my env setting? My excel version is 2003. any suggestion? Thanks. Traceback (most recent call last): File "testexcel.py", line 3, in ? excel = Dispatch("Excel.Application") File "C:\Python24\Lib\site-packages\win32com\cli