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,