• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to extract the metadata from PDF via VBA?

New Here ,
Apr 04, 2018 Apr 04, 2018

Copy link to clipboard

Copied

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?

                 2.jpg

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

TOPICS
Edit and convert PDFs

Views

5.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 04, 2018 Apr 04, 2018

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

Votes

Translate

Translate
Community Expert ,
Apr 04, 2018 Apr 04, 2018

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 07, 2018 Apr 07, 2018

Copy link to clipboard

Copied

Hi Bernd

Thanks for your quick response.

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

Are there any VBA solution?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 07, 2018 Apr 07, 2018

Copy link to clipboard

Copied

Did you read the reference we suggested?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 08, 2018 Apr 08, 2018

Copy link to clipboard

Copied

No, because I have no knowledge about java.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 08, 2018 Apr 08, 2018

Copy link to clipboard

Copied

It's not Java, but JavaScript. And if you want to automate Acrobat then you should get familiar with it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 09, 2018 Apr 09, 2018

Copy link to clipboard

Copied

LATEST

Note that you can use the VB:JavaScript connector to use JavaScript objects from VBA.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines