Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Have multi page document and need to delete every other page. Document to big to delete each page seperately.

New Here ,
Aug 26, 2016 Aug 26, 2016

I have a multi page document (1,000's of pages) and need to delete every other page.  I can't figure out how to do this & I know it's doable.  I just don't have the time to delete this one page at a time.  Please help.

TOPICS
Edit and convert PDFs
11.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Aug 27, 2016 Aug 27, 2016

If you have Adobe Acrobat DC Pro, you can create a custom command using the following JavaScript code to delete all even numbered pages:

// process document from the last page to the first page

for (var i = this.numPages-1; i>=0; i--) {

    if (i % 2) { // this will delete all even numbered pages

        this.deletePages(i);

    }

}

To learn about how you can create a custom command, follow the steps here: Create Custom Commands in Adobe Acrobat DC Pro - KHKonsulting LLC

If you want to delete all odd numbered pages, just change line #3 to this:

if (!(i % 2)) { // this will delete all odd numbered pages

If you are using an earlier version of Acrobat Pro, you can use an Action to accomplish the same. If you are using Adobe Acrobat Standard, you don't have access to the action wizard or custom commands, and you would have to write a folder level script to create a new menu item that can delete odd or even numbered pages.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 26, 2016 Aug 26, 2016

What pages want you delete?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 27, 2016 Aug 27, 2016

Open the page panel and select the pages that you want to delete it.. and press delete to the pages or click on deleted icon..

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 27, 2016 Aug 27, 2016

That's exactly what they don't want to do...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 27, 2016 Aug 27, 2016

If you have Adobe Acrobat DC Pro, you can create a custom command using the following JavaScript code to delete all even numbered pages:

// process document from the last page to the first page

for (var i = this.numPages-1; i>=0; i--) {

    if (i % 2) { // this will delete all even numbered pages

        this.deletePages(i);

    }

}

To learn about how you can create a custom command, follow the steps here: Create Custom Commands in Adobe Acrobat DC Pro - KHKonsulting LLC

If you want to delete all odd numbered pages, just change line #3 to this:

if (!(i % 2)) { // this will delete all odd numbered pages

If you are using an earlier version of Acrobat Pro, you can use an Action to accomplish the same. If you are using Adobe Acrobat Standard, you don't have access to the action wizard or custom commands, and you would have to write a folder level script to create a new menu item that can delete odd or even numbered pages.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 25, 2022 Mar 25, 2022

I need to rotate every odd page to the right and every even page to the left, in a massive document...is there a way to select every other for both odd and even pages?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 25, 2022 Mar 25, 2022

Aactually, nevermind. I figured out a different way to have the document scanned in

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 13, 2022 Apr 13, 2022

Thank you Karl. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2025 Feb 18, 2025

Commenting to hopefully keep this solution active. This was exactly what I needed. Thank you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 19, 2025 Feb 19, 2025
LATEST

[MOVED TO THE ACROBAT DISCUSSIONS]


Acrobate du PDF, InDesigner et Photoshoptographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines