[python-win32] Re: Constants quit working under Python 2.5

2007-04-09 Thread kc106_2005-pywin32
Hi list, I upgraded to Python 2.5 for evaluation and testing. After installing the pywin32-210.win32-py2.5.exe, I found that the constants module doesn't work. For example, this code fails: from win32com.client import Dispatch, constants print constants.xlDown I

[python-win32] Setting attributes to a number of Excel cells

2006-10-30 Thread kc106_2005-pywin32
Hello list, We all know that it's better to set the values of a spreadsheet by building a squared virtual sheet first and then copy the whole thing over with one single range...value call. But Is there a more efficient way to set the attributes of a number of cells in Excel? I am noticing a

[python-win32] Excel corrupted display problem

2006-08-17 Thread kc106_2005-pywin32
Hi list, I have a Python script that pops up Excel, fill it, and then continue. If the user clicks on my Python side to close Excel (via a call to the Quit() function), then I can reopen it later via another dispatch call and so forth. However, if the user close Excel from the Excel side, next