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
--
http://mail.python.org/mailman/listinfo/python-list
