Need to carve the pdf file with vba

Hello! I have pdf file with 10-250 pages. Need to carve it to few files, for example, pages 1-10,10-15,15-30 etc. And this must be done in vba, macro from excel. Can someone help?


you could reprint the pages you need to a PDFCreator printer and then use the COM interface to merge them all into a single PDF again, or create seperate files for each selection of pages:

Best regards