PDF Header, Footer extraction

How to extract Pdf file headers and footers for multiple page into excel