Results 1 to 13 of 13

Thread: How to split a PDF into pages using VBA

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Hi Kenneth,

    Yes i initally tested:

    pdfsam = "cmd /c java -jar "&(chr(34))&"C:\Documents and Settings\Nashl\Desktop\pdfsam-1.0.3-out\lib\pdfsam-console-1.1.5e.jar"&(chr(34))&""
    pdfFiles = "-f "&(chr(34))&"F:\Temp\temp.pdf"&(chr(34))&""
    pdfOut = "-o "&(chr(34))&"F:\Temp\"&(chr(34))&""
    pdfsamStr = pdfsam & " -p 1 " & pdfFiles & " " & pdfOut & " -s SPLIT"
    Shell pdfsamStr, vbNormalFocus
    But that really didn't work!! it gave some sort of weird error i didn't understand at all....
    Last edited by Aussiebear; 02-26-2025 at 03:33 PM.
    Kind regards

    Lee Nash

    http://www.NashProjects.com


Posting Permissions

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