View Single Post
 
Old 12-27-2017, 02:10 AM
puff puff is offline Windows 7 64bit Office 2013
Advanced Beginner
 
Join Date: Apr 2017
Posts: 60
puff is on a distinguished road
Question Obtain contents from headers/footers and insert them

Hi all! Is it possible for VBA to extract the contents from every page's header and footer and then insert them to the first and the last line of that page respectively? I used Acrobat to convert a PDF (actually, a PPT in PDF format) into word, but some pages' headings turn into headers for pages in Word and they're all different.

I cannot use the export function of powerpoint to avoid this issue since I don't have the original PPT file. Additionally, I can't let Acrobat export the text into the plain text because it lost Greek letters in the original PDF.

I searched a lot, but most examples only add content into headers, not the opposite direction. Additionally, if VBA can do this, one major problem might be that adding contents from headers/footers changes how the contents arrange on every page--contents will move backward and get onto latter pages.

Could someone help me out on this? I also appreciate any other better ideas on extracting PDF text.
Reply With Quote