Quantcast
Channel: PDFCreator - pdfforge forums
Viewing all articles
Browse latest Browse all 2626

COM interface to get all pdf files in a folder and convert to jpg in vba

$
0
0

@JBn63 wrote:

Everyone, I have the vba code to convert a document to a jpg. The challenge is how to loop through a folder, get each pdf file and then use it as input to the COM interface and convert it to a jpg file with the same name.jpg.

The code I found, does it for a document. Yet, if the pdf files are already exist in the folder, how can I make them as input files to the COM interface and just code it as convert this pdf file to a jpg, then get the next file in the folder, do the same until all files have been converted. I want to do this via VBA code. Can anyone point me in the direction? Thanx in advance,

Jerry

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2626

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>