Skip to main content
Participant
Nov 16, 2021 5:24 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

1 reply

BarlaeDC
Community Expert
Community Expert
Nov 18, 2021 4:15 PM UTC

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.

Translate