Re: Excel ShapeRange problem with win32com

2006-03-15 Thread koia
Sorry guys, I forgot the parenthesis in xlapp.ActiveSheet.Shapes.AddLine( 0, 0, 100, 100).Select() /koia -- http://mail.python.org/mailman/listinfo/python-list

Excel ShapeRange problem with win32com

2006-03-15 Thread koia
Hi, I have a problem with adding attributes to a Line in an Excel drawing using the Python win32com interface. From recording in Excel I get the Macro: Sub Makro1() ActiveSheet.Shapes.AddLine(192.75, 63.75, 316.5, 110.25).Select Selection.ShapeRange.Line.ForeColor.SchemeColor = 10 Sel