Need a quick way to delete the current page in your document? Here's a single-line macro that will do the trick:
Sub DeletePage() ActiveDocument.Bookmarks("\Page").Range.Delete End Sub
The macro uses a special system-defined bookmark to refer to the current page. Assign the macro to a shortcut key and you have a way to easily delete the current page—the one in which the insertion point is located. The macro bases its determination of a "page" on the current pagination of the document, which is affected by the printer driver you are using and other formatting characteristics of the document.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1518) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Deleting a Page.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Type three periods in a row, and the AutoCorrect feature in Word kicks in to exchange that sequence for a special ...
Discover MoreUsing shortcut keys to navigate through your document is really handy. One navigation shortcut that Word doesn't provide ...
Discover MoreMacros allow you to easily extend what you can do with Word. If you have a common editing task, that task can often be ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2022 Sharon Parq Associates, Inc.
Comments