page-break

Remove Automatic Page Breaks in Openpyxl

Remove Automatic Page Breaks in Openpyxl Question: I am using openpyxl in Python to write to a worksheet. I need to add page breaks to specific rows. I am able to successfully add those row breaks using this block of code: page_break_rows = [44, 90, 135, 180, 226, 262] for row in page_break_rows: self.new_sheet.row_breaks.append(Break(id=row)) However, …

Total answers: 3