
:max_bytes(150000):strip_icc()/C3-DeleteaPageinGoogleDocs-annotated-051d7734566c4ef299102697f98e7f20.jpg)
Selection.GoTo wdGoToPage, wdGoToAbsolute, xArr(I)ģ. "use comma to separate numbers", "KuTools for Word", "") XPage = InputBox("Enter the page numbers of pages to be deleted: " & vbNewLine & _ VBA code: Delete multiple specific pages in Word file: Sub DeletePagesInDoc()
#HOW DO YOU DELETE FULL PAGES IN WORD CODE#
Click Insert > Module, and paste the following code in the Module Window. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.Ģ. To delete multiple specific pages in a Word file which are non-consecutive, the following VBA code can help you.ġ. At last, press Delete key directly to delete these pages at once. All pages from 15 to 20 have been selected at once. Go on pressing F5 key to open the Find and Replace dialog, this time, enter the end page number that you want to delete, and then press Enter key. Then, close this Find and Replace dialog box, and press F8 to turn on the Extend mode.ģ. Then press F5 key to open the Find and Replace dialog box, under the Go To tab, click Page in the Go to what list box, and then enter the start page number you want to delete from, and press Enter key to go to the specific page, see screenshot:Ģ. Launch the Word document that you want to delete pages.Ģ. If you want to delete a range of consecutive pages from a Word document, the Go To feature can do you a favor.ġ. But, if you need to remove multiple pages from a large Word file, how could you solve it quickly?ĭelete a range of pages in Word document with Go To featureĭelete multiple specific pages in Word document with VBA code In a Word document, you can select the current page content, and then press Delete key to delete the current page easily.
#HOW DO YOU DELETE FULL PAGES IN WORD FREE#
Help users increase productivity by automatically signing up for TechRepublic’s free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.How to delete multiple specific pages in a Word document? Miss a Word tip?Ĭheck out the Microsoft Word archive, and catch up on other Word tips. The paragraph mark should now be almost invisible, but positioned on the same page as the table.

When you create a table that ends at the bottom margin, Word automatically inserts a new blank page. Follow these steps to eliminate the extra page.

Remove unwanted blank pages inserted after a Word table
