I have a problem with Worksheet.GetPrintingPageBreaks method who gives incorrect area.
For example, the first page is supposed to be A1:C46 but that finds A1:C47. The second page is supposed to be A47:C92 and I got A48:C94.
I note that difference changes when I change margins.
files.zip (146.3 KB)