space1 separator space2  

Code Samples - Neevia PDFmerge/split

Example 8: Extract several pages from a PDF file - Visual Basic Copy 

1
2
3
4
5
6
7
8
   Dim NVsplit : Set NVsplit = CreateObject("PDFsplit.Neevia")
   'Extract pages 2,3,7
   Dim retVal : retVal = NVsplit.SplitPDF("c:\1.pdf(2,3,7)", "c:\out\")
   if retVal<>0 then
     MsgBox "Error = " & CStr(retVal)
   else 
     MsgBox "Done"
   end if