excel application

lucmult at gmail.com lucmult at gmail.com
Wed Mar 29 17:57:16 CEST 2006


Hi Luca,

The words xlDiagonalDown e xlNone  are Excel constants and don't are in
the Local NameSpace

use these values:
xlNone = -4142
xlDiagonalDown = 5

Then the last line stay like that
"""
     packing.ActiveSheet.Selection.Borders(5).LineStyle = -4142
     # Excel Constants: xlNone = -4142 xlDiagonalDown = 5
"""

When use the integer values in your code remeber to comment the
significant of these values, to a future corrections :)

[],

Luciano Pacheco




More information about the Python-list mailing list