/ Published in: Python
URL: http://www.resolverhacks.net/easy_cellranges.html
Expand |
Embed | Plain Text
def CellRangeFromDimensions(startCell, width, height): endCell = startCell.Offset(width-1, height-1) return CellRange(startCell, endCell) def FormatCellRangeBorders(cellRange): cellRange.BorderRight = True cellRange.BorderTop = True cellRange.Cols[1].BorderLeft = True cellRange.Rows[cellRange.MaxRow].BorderBottom = True
You need to login to post a comment.
