python Programming Glossary: excel.selection.borders
Python clean way to wrap individual statements in a try except block http://stackoverflow.com/questions/7271245/python-clean-way-to-wrap-individual-statements-in-a-try-except-block pass try statement except pass The relevant code is the excel.Selection.Borders bit. def addGridlines self infile outfile convert csv to excel.. of these fail so we have to wrap each in a try catch block excel.Selection.Borders xlDiagonalDown .LineStyle xlNone excel.Selection.Borders xlDiagonalUp.. excel.Selection.Borders xlDiagonalDown .LineStyle xlNone excel.Selection.Borders xlDiagonalUp .LineStyle xlNone excel.Selection.Borders xlDiagonalUp..
|