locked
Batch remove word doc pages from library RRS feed

  • Question

  • Hi,

    I see there are ways to batch remove or add information to word docs and i have successfully removed the cover page from word docs and put into one document.  Is there any way to remove cover and end pages from word docs in a batch?  I need to remove the cover pages of over 300 documents and then the last 2 or 3 pages as well.  

    Any suggestions?

    Thanks,

    thupard

    Wednesday, October 22, 2014 6:41 PM

Answers

  • Deleting the first page is no problem, especially if it's in its own Section. Removing pages from the end of the document is likewise no problem in and of itself, but the '2 or 3 pages' isn't something VBA can be left to decide for itself - it needs rules that tell it how to decide whether to delete 2 pages or to delete 3 pages. If Section breaks at the end of the document are involved, matters can become complicated when header/footer content and differences in page layout need to be considered.

    Cheers
    Paul Edstein
    [MS MVP - Word]

    • Proposed as answer by Greta Ge Friday, October 24, 2014 1:57 AM
    • Marked as answer by Greta Ge Monday, November 3, 2014 9:08 AM
    Thursday, October 23, 2014 12:33 AM