In Microsoft Word, erase the page and eliminate the unneeded space.This is due to the fact that the last page contains a conclusion paragraph. Microsoft Word versions 2007, 2016, 2019, and 2021 are prone to leaving a blank page at the end of a document that refuses to disappear.Remove the blank page at the conclusion of MS Word.Then, on your keyboard, press ‘Delete’/’Backspace.’.Check that it’s the correct page (the last thing you want to do is delete the wrong one) and that the content is selected.On your keyboard, press ‘Enter’ and then ‘Close.’.When a dialogue box appears, go to the ‘Go To’ section and type the page number in the ‘Enter Page Number’ box.In Windows, press ‘Ctrl+G’ in Mac, press ‘Option+Command+G’.In MS Word, open the word document and tap anywhere on the page you wish to erase.Using the Find and Replace tool, you can erase a page in Word 2007, 2016, 2019, and 2021 editions. This strategy should be used to cope with large Word files that have a lot of pages and are difficult to navigate. With a few strokes, the locate and replace tool allows you to quickly browse to the page you wish to eliminate. In Word, you may also use the Find and Replace tool to remove an excess page. Using the Find and Replace tool in Word, delete a page. Find the blank page(s) in the word file by scrolling through it. On MS Word 2007, 2016, 2019, and 2021 versions, this should create a new column on the left-hand side of the document that displays all of the pages in your document. To do so, go to the top menu and select View, then tick the box next to the Navigation Pane box in the ‘Show’ section. If the word file is too large and you’re not sure where the blank page is, use the ‘Navigation’ pane for assistance. And then, click OK button, all the pages you specified have been deleted at once.The undesirable or blank page will be removed from the Microsoft Word document. Then, press F5 key to run this code, and a prompt box is popped out to remind you enter the page numbers that you want to delete, please separate the page numbers by comma, see screenshot:Ĥ. 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 to delete a page in microsoft word 2007 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 to delete multiple specific pages in a Word document?