I have a requirement where I need to check if header/footer exists in an excel page. If yes, I need to remove them. To remove I used openpyxl package and manipulated in a way that i copied the contents of excel to a new sheet and deleted the master sheet[with header and footer].
But there may be a case where a page might not have a header or footer. However it doesn't matter. Still, is there any way to see if header or footer exists in excel