Print Page | Close Window

Delete or Extract pages using VBA

Printed From: www.exp-systems.com
Category: PDF reDirect
Forum Name: Programming
Forum Discription: VBA and Batch Tools to control PDF reDirect Pro
URL: http://www.exp-systems.com/Forum_exp/forum_posts.asp?TID=804
Printed Date: 18 Apr 24 at 6:53PM


Topic: Delete or Extract pages using VBA
Posted By: Derek Brown
Subject: Delete or Extract pages using VBA
Date Posted: 11 Nov 11 at 5:23PM
I see that there is a comment in the VBA sample workbook that says it is possible to delete/extract pages using the ActiveX Utility.
However, I could not find an example of the code in the workbook or on this Forum.
Does anyone know where I may be able to find an example, please?
Thank you.



Replies:
Posted By: Michel_K17
Date Posted: 12 Nov 11 at 6:25PM
Hi Derek,

   Oops. It looks like I did not implement this feature - even though it looks like I meant to. I have added this to my "todo" list for the next release.

   In the mean time, if you need this feature, you should take a look at the PDF file management library called [ http://www.quickpdflibrary.com/ - QuickPDF Library ] made by Debenu. This is the library I use in PDF reDirect and it is a very capable product.

   An alternative if you want to extract pages, you could use the utility to print PDF files (ie oPDF.Utility_Print_PDF) to print the pages that you need to a new PDF via a Batch Printer. If you have multiple pages to extract, you could print them individually, and then merge them, or, use the option to append the "printed" pages to the new PDF until you get what you need.

   I hope this helps.



-------------
Michel Korwin-Szymanowski
EXP Systems LLC


Posted By: JohnnySy
Date Posted: 14 Mar 12 at 1:05PM
VBA is functionally rich and flexible but it does have some important limitations, such as restricted support for function pointers which are used as callback functions in the Windows API. - http://oceans2003.org/tire-works/ - Tire Works



Print Page | Close Window