

The organize pages toolset is displayed in the secondary toolbar, and the page thumbnails are displayed in the document area. Select the Organize Pages tool from the right pane.For now, let’s see how to remove blank pages from PDF? If you use it so you can easily remove blank pages or if you don’t so first of all install Adobe Acrobat on your PC. You can delete blank pages from PDF but for this, you need to have Adobe Acrobat. For instance, if 4 pages of your document is the blank page you want to delete, specify pages from 1 to 4. Under the Page Range, choose the page (s) and then specify non-blank pages.Select Options in the Save As dialog box.Go to File>Click on Save As, choose the place where you want to save the document, and choose PDF for the Save as type.You can even delete the blank pages by saving the documents as a PDF, leaving out the last page. How to Delete Blank Page from PDF Document Learn more about to delete paragraph markers and page breaks. If you tried, but couldn’t delete the blank page or to delete the blank page by clicking on the bottom-right corner of a blank page and hitting backspace until it disappears, you can solve the problems by deleting all of the hidden format makers. So more like this: Public Function DeleteBlankPages(wd As Word.Having difficulty in deleting Blank Page in Microsoft Word? We would help you to know “How to Delete Blank Page in Word” so next time when you face this issue you can easily remove it.īlank pages in MS Word are usually the result of the extra paragraph or page breaks.

It could deleted empty pages, depending on how things are formatted, but it might be wise to rename the Function and comment how it's supposed to work.
:max_bytes(150000):strip_icc()/005_remove-blank-page-in-word-5209545-0c6fa133f4074f46a0121dae267e4a9a.jpg)

(Which means you also don't need to pass a Word.Application object.Īlso note that your code doesn't do anything to pages, only to paragraphs. You'd think that it the comparision should be to 0 (zero), but that's not the case for a paragraph, because a Word paragraph always contains it's paragraph mark (ANSI 13).Īlso, no need to select the paragraph or range in order to delete it, just use the Deletemethod directly on the par.Range. In VBA, this is typically done with the function Len (=length). The correct way to find out if there is textual content is to check the number of characters. Look up the definition of IsEmpty in the VBA language reference.
