Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-09-2020, 07:44 PM
macropod's Avatar
macropod macropod is online now Next Page Section Break somehow changed to Cont. Section Break; each time fix spreads to prev chap Windows 10 Next Page Section Break somehow changed to Cont. Section Break; each time fix spreads to prev chap Office 2010
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,496
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

AAn unfortunate side-effect of deleting ‘Continuous’ Section breaks in Word is that they tend to cause the preceding ‘Next Page’ Section break to be converted to a ‘Continuous’ Section break. A workaround is to convert the Section break to the same kind as the one that precedes it, then delete break. You can do that via Layout>Page Setup>Layout>Section Start.

The following macro automates the process. Simply select a range spanning the unwanted break before running the macro.
Code:
Sub DelSctnBrk()
Application.ScreenUpdating = False
With Selection.Sections
  .Last.PageSetup.SectionStart = .First.PageSetup.SectionStart
  .Last.Range.Characters.First.Previous.Delete
End With
Application.ScreenUpdating = True
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Next Page Section Break somehow changed to Cont. Section Break; each time fix spreads to prev chap Word 2007, cannot insert Section Break (Continuous), only Section Break (Next Page) btse1 Word 3 11-01-2018 09:23 AM
Section Break (Continuous) counted as Section Break (Next page) wolfer Word VBA 2 01-06-2018 09:51 AM
Next Page Section Break somehow changed to Cont. Section Break; each time fix spreads to prev chap Word converts section break to page break before columns, does not insert column breaks eborda Word 1 03-24-2017 11:06 PM
Next Page Section Break somehow changed to Cont. Section Break; each time fix spreads to prev chap Section - Page Break changes to Section - continuous? donaldadams1951 Word VBA 13 03-27-2014 07:03 PM
Next Page Section Break somehow changed to Cont. Section Break; each time fix spreads to prev chap Section Break (Next Page) replaces Section Break (Continuous) when deleted Carlabasson Word 2 03-25-2013 10:13 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft