[python-win32] Re: Excel sort error with Python 2.2.3 & early binding

Roger Upole rwupole at msn.com
Wed Dec 20 01:34:52 CET 2006


I think the problem is with the default value for the keys that aren't specified.
This works with both early and late binding:

rangeToSort.Sort( Key1=sheet.Columns( 3 ), Order1=1 , Header=1, Key2=pythoncom.Missing, Key3=pythoncom.Missing )

          Roger



More information about the Python-win32 mailing list