Consulting

Results 1 to 2 of 2

Thread: Macro that converts 1000pdf files from folder to jpgs

  1. #1

    Macro that converts 1000pdf files from folder to jpgs

    Hi guys,
    I have a lot of pdf files (around 1000) into this folder

    C:\MIHAI\DOC\ASIG\DOSARE

    I need an Excel 2007 Macro to convert every pdf file into jpg

    For example if my first pdf file is named Michael.pdf and it has 4 pages I need to convert it to Michael01.jpg, Michael02.jpg, Michael03.jpg, Michael04.jpg.

    Then again the same thing for every pdf.

    If you have any suggestion, your help would be greatly appreciated.
    Thanks, have a great day!
    God Bless!

  2. #2
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    337
    Location
    You now want the opposite of what was developed in other thread http://www.vbaexpress.com/forum/show...ith-same-width

    Again, common topic.

    Will need to first split up multi-page pdfs then call code for conversion to jpg.

    I don't know any way to do the first part without Adobe Acrobat installed. The second part can possibly be done with ImageMagick as well. I found code to do conversion without Acrobat by leveraging PowerPoint (resolution is degraded). But if you have Acrobat, I expect all can be done with Acrobat automation.
    How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •