Passing parameters to VB
ingmar.ko.andersson at glocalnet.net
Mon Mar 20 00:22:04 CET 2006
I am using win32com for the Python interface to my Excel shreadsheets.
When I turn on Macro recordiong in Excel while filling a rectangle with
text information, a part of the VB code produced is the following:
With Selection.Characters(Start:=1, Length:=11).Font
.Name = "Arial"
.FontStyle = "Normal"
.Size = 10
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ColorIndex = xlAutomatic
What is the syntax 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!
More information about the Python-list