win32com.client Excel Color Porblem

Ray ruiligc at earthlink.net
Wed May 2 18:37:02 EDT 2007


Hi,

I need to use cell's background color.

when I record a macro from excel, it shows:

Rows("7:7").Select
     With Selection.Interior
         .ColorIndex = 8
         .Pattern = xlSolid

how do I run it from python win32com ?
xlApp.ActiveSheet.Rows("7:7").ColorIndex won't work.


Thanks for any Help.


Ray

PS: where or how to find a win32com reference?



More information about the Python-list mailing list