'Find Last page and remove it if selected for removalįinalPage = (wdActiveEndAdjustedPageNumber)ĪctiveDocument.Bookmarks("\Page").Range. NOTE: When you delete a section break, the text that was above the break becomes part of the section that was below the breakmaking them one section. Set rgePages = rgePages.GoTo(What:=wdGoToBookmark, Name:="\page") When it comes to the high degree of formatting options offered, you would find that Microsoft is one. IPage = InputBox(Message, Title, Default) Microsoft Word is one of the excellent options for almost all your word processor requirements. To pick a section break, click it, then press DELETE.
Go to the Home tab and choose to Show all non-printing characters from the drop-down menu.
#Word deleting section break how to#
Message = "Enter the page number to delete"ĭefault = Selection.Information(wdActiveEndPageNumber) See how to delete section breaks in some steps below Step 1. Again, you can enable Show Section Breaks to make this simpler. To remove a section break on Mac, place your cursor at the start of the line with the section break.
This moves the content up to the previous page. I saw this macro in one of the forums but it still doesn't recognize the last page for some reason: To remove a page break in Google Docs on Mac, place your cursor in front of the text at the top of the page. I want the user to be able to choose what size they want to use and just delete the unwanted pages. Hi, I'm creating a work instruction template to be used company wide.