Skip to main content
Participant
November 16, 2021
Question

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

  • November 16, 2021
  • 1 reply
  • 837 views

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. 🙂 

This topic has been closed for replies.

1 reply

BarlaeDC
Community Expert
Community Expert
November 18, 2021

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.