Skip to main content
Participant
April 4, 2018
Answered

How to extract the metadata from PDF via VBA?

  • April 4, 2018
  • 1 reply
  • 6332 views

In my daily work, I have to documentation from thousands of PDFs, and maintain its revision, so I copy the created date from the PDF properties manually.

I had searched the forums, and got some pieces of code to get the Title, Subject, Author, etc, but no the creation date or modified date.

Could someone help me to give me some pieces of code how to extract the data from PDF properties? Or the function?

                

Thanks for your help in advance and have a good day.

This topic has been closed for replies.
Correct answer Bernd Alheit

Look at the info property of the document. Details are in the Acrobat JavaScript Reference.

1 reply

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
April 4, 2018

Look at the info property of the document. Details are in the Acrobat JavaScript Reference.

Rudy_XuAuthor
Participant
April 8, 2018

Hi Bernd

Thanks for your quick response.

But I'm a rookie, I just know little about VBA.

Are there any VBA solution?

Legend
April 8, 2018

Did you read the reference we suggested?