I'm creating thousands of documents with excel, and when I check the print preview, sometimes only the signature part of the page is on the second page.
I would like to check the printed page count (I found a solution for this one :(ActiveSheet.HPageBreaks.Count + 1)) and check how many rows will be on the second page so I could edit the template accordingly.
I'm using python and win32com.