Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Kurt Munson
, 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!

Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Kurt Munson
@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

Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Kurt Munson
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

Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Kurt Munson
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

[python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Kurt Munson
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 =

[python-win32] Controlling Excel via COM: errors with conditional formatting

2008-09-24 Thread kurt munson
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