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

How to Save PDF file of any size to A4 using VBA

New Here ,
Nov 16, 2021 Nov 16, 2021

Copy link to clipboard

Copied

Hello Everyone, 

I'm using Adobe Acrobat Pro DC version to save PDF File as .txt file.

 

Set objJSO = objAcroPDDoc.GetJSObject
objJSO.SaveAs GetTextFilePath, "com.adobe.acrobat.plain-text"

 

This worked very well until I received a scanned PDF file with page size 22inch x 27inch. 

It doesn't produce text file out of it. 

 

Anyone please suggest what approach should I take? I personally feel I should SaveAs pdf with scale of A4 size paper but again I didn't find VBA code to perform that. 

 

please help. 🙂 

TOPICS
Windows

Views

154

Likes

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 ,
Nov 18, 2021 Nov 18, 2021

Copy link to clipboard

Copied

LATEST

HI,

 

Has the scanned document had OCR (Optical Character Recognition) ran on it? If not, there is not text to output as it is just an image.

Likes

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