Re: win32com.client Excel Color Porblem

2007-05-03 Thread Ray
Thanks a lot!! ici wrote: > My Excel Template :) + Rows > > # -*- encoding:utf-8 -*- > import win32com.client > > try: import psyco; psyco.full() > except ImportError: pass > > try: > app = win32com.client.Dispatch("Excel.Application.11") # Excel > 2003 > except com_error: > try: >

Re: win32com.client Excel Color Porblem

2007-05-02 Thread ici
On May 3, 1:37 am, Ray <[EMAIL PROTECTED]> wrote: > 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