--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Waldlehne 23
Düsseldorf
D- 40489
Tel: +49-203-3925-0390 Mobile: +49-178-782-6226
Jesse
unread,
Sep 1, 2023, 3:06:26 PM9/1/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openpyxl-users
A few years late on this, but I just ran into the same thing, and had trouble at first understanding what to do from the API docs. This seems to do the trick, to (for example) add a break after the 10th row:
sheet.row_breaks.append(Break(10))
id evidently represents the row number (?)
Ivan Andy
unread,
Feb 19, 2024, 8:23:30 AM2/19/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openpyxl-users
Good Morning
I want to create two or more pagebreaks, but openpyxl ignore second and next.