Print Page | Close Window

VBA to keep all odd pages and the last even page

Printed From:
Category: PDF reDirect
Forum Name: Programming
Forum Discription: VBA and Batch Tools to control PDF reDirect Pro
Printed Date: 02 Oct 23 at 2:49AM

Topic: VBA to keep all odd pages and the last even page
Posted By: RBerendsen
Subject: VBA to keep all odd pages and the last even page
Date Posted: 11 Feb 15 at 3:59PM
Good evening,

currently I use PDF redirect 2.5.2 to merge two pdf files with VBA but I am wondering if the following can also be done with PDF redirect.
I have pdf-files of which I will always need the file to be rearranged like so: every odd page and at the end the last page, which always is an even page. All other even pages except the last should be removed from the pdf file.
Is this rearranging of a pdf file possible to do with PDF reDirect? Until now I have not seen code that will do this and I have read the forum on this website as well as some other websites.

It is just necessary to change one single file at a time, this is my main priority.
But if possible it would also be good to change more than one file at a time in a single folder.


Posted By: Michel_K17
Date Posted: 15 Feb 15 at 10:02AM

The short answer is no: the functions I provided are limited.

What you can consider using is the Debenu PDF library called Quick PDF which is the same library that is used by PDF reDirect. It is fast, stable, and full featured.

There are two versions, one of which is free, although I am not sure that it has enough features to do what you want. At any rate, you can view the details here:

I hope this helps.


Michel Korwin-Szymanowski
EXP Systems LLC

Posted By: RBerendsen
Date Posted: 15 Feb 15 at 11:39AM
Hi Michel,

thank you for your reply. I might check out the Quick PDF. It would be easy if I could use one and the same program to do all the things I need to adapt pdf files.


Print Page | Close Window