Consulting

Results 1 to 6 of 6

Thread: Excel 2007 Macro to convert more pdf files to 1 single pdf file

  1. #1

    Excel 2007 Macro to convert more pdf files to 1 single pdf file

    Hi guys,
    I have this folder
    C:\MIHAI\DOC\ASIG\DOSARE

    In this folder are more pdf files.
    Can you help me with a macro that can run from Excel 2007 and converts all the pdf files in one single pdf file in the same folder, and if possible deletes the old pdf files ?

    Thanks a lot.
    God Bless!!

  2. #2
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    337
    Location
    This is a common topic.

    Do you have Adobe Acrobat Pro installed?

    Review https://stackoverflow.com/questions/...o-one-pdf-file
    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.

  3. #3
    Hi June, thanks again for your reply.

    Currently I do not have Adobe Acrobat Pro installed. Its my work computer and i cant install any programs.
    Is there any other way I can achieve what I want just by using VBA code ?


    Thanks a lot!

  4. #4
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    337
    Location
    Not that I know of. If you can get approval to install a freeware, consider https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/

    You already asked this question http://www.vbaexpress.com/forum/show...ith-same-width
    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.

  5. #5
    Thanks a lot June ... again
    I think I will propose management to buy that program and to use it on a daily basis
    Is it possible to write a batch file that uses the program that you recommended from pdflabs in order to convert all pdf files into a single one ?
    Thank you
    God Bless!

  6. #6
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    337
    Location
    I've never used pdflabs software and no idea if a batch script can run it. Maybe ask pdflabs. I didn't suggest pdflabs from experience, it was just one return from web search and they are certainly not the only one you could consider.
    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
  •