Passing parameters to VB

2006-03-19 Thread koia
ntax for passing the parameters Start:=1, Length:=11 to VB from a Python function, if I want to control these properties of the text in the Excel spreadsheet? Thanks in advance! / koia -- http://mail.python.org/mailman/listinfo/python-list

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
es.AddLine( 0, 0, 100, 100).Select > xlapp.Selection.ShapeRange.Line.ForeColor.SchemeColor = 10 This fails on ShapeRange, with output listed below. What can the problem be? Is there a solution/work-around? Thanks in advance /koia Traceback (most recent call last): File "C:\Program Files\