Re: [python-win32] Excel + pyinstaller: missing a constant: xlTopToBottom

2013-04-29 Thread Mark Hammond
On 30/04/2013 2:21 AM, Niemann, Hartmut wrote: Hello! The following snippet from win32com.client import constants as xl_constants wbook.ActiveSheet.Range('A3:N' + str(row + 1)).Sort( Key1 = wbook.ActiveSheet.Range('B3'), Orientation = xl_constants.xlTopToBottom, DataOption1 = xl_constant

[python-win32] Excel + pyinstaller: missing a constant: xlTopToBottom

2013-04-29 Thread Niemann, Hartmut
Hello! The following snippet from win32com.client import constants as xl_constants wbook.ActiveSheet.Range('A3:N' + str(row + 1)).Sort( Key1 = wbook.ActiveSheet.Range('B3'), Orientation = xl_constants.xlTopToBottom, DataOption1 = xl_constants.xlSortTextAsNumbers