, July 17, 2012 12:31 PM
To: Python-Win32 List
Subject: Re: [python-win32] new Pywin32 errors stating 'object has no
attribute' - and the code worked previously
Kurt Munson wrote:
> Thanks for the suggestion - deleting the \win32com\gen_py .py and .pyc files
> solved the problem!
@python.org
Subject: Re: [python-win32] new Pywin32 errors stating 'object has no
attribute' - and the code worked previously
> -Original Message-
> From: Kurt Munson [mailto:kurt.mun...@hbmncode.com]
> Sent: 17 July 2012 16:46
> To: Graham Bloice; python-win32@python.org
ode worked previously
> -Original Message-
> Subject: Re: [python-win32] new Pywin32 errors stating 'object has no
> attribute' - and the code worked previously
>
> On 17/07/2012 16:05, Kurt Munson wrote:
> > Dunno exactly what you mean by "what's
isible, in lower case. I thought dynamic dispatch would remove case
sensitivity.
-Kurt
-Original Message-
From: Tim Golden [mailto:m...@timgolden.me.uk]
Sent: Tuesday, July 17, 2012 10:27 AM
To: Kurt Munson; python-win32@python.org
Subject: Re: [python-win32] new Pywin32 errors statin
I have been using pywin32 successfully for years to control Excel. Now,
suddenly I get errors executing the same code that has run previously.
My python code controls Excel like this:
import win32com.client
xl = win32com.client.DispatchEx("Excel.Application")
xl.DisplayAlerts = 0
xl.visible =
I have written a Python program to control MS Excel via win32com.client. This
allows me to create and control an Excel spreadsheet.I want to use Excel's
conditional formatting to color certain cells, but I can't get it to
work.Here's the code I use:
import win32com.clientxl=
win32com.clien