none
How to delete a Section Break without loosing the format of the previous section?

    Question

  • Hello,

    I would like to know How to delete a Section Break without loosing the format of the previous section? The section break I want to delete does not have any Header and Footer and when I delete it automatically deletes the Header and Footers of the previous section.

    BR

    Friday, July 08, 2011 8:52 AM

Answers

  • In essence you can't do what you are asking. Although Section Breaks give the impression being at the beginning of the section, they are actually at the end and contain all the section-specific formatting for what is in the section before them. When you delete a section break the section above gets merged into, and takes the properties of, the section below. Every case is different and must be treated individually; there is no magic bullet :-(
     

    Enjoy,
    Tony
    www.WordArticles.com
    Monday, July 11, 2011 3:40 PM

All replies

  • You should tell something about the Word version you are using. This makes it easier to give detailed instructions.

    In general: You can go into the header section of the last section. Activate the "link to previous" option. Confirm, that the header/footer should be replaced. After that you can delete the section and the header remains in the first section.

    Friday, July 08, 2011 3:22 PM
  • Hello,

    I am using MS Office 2007. Ok but is there any other way to do that?

    Monday, July 11, 2011 8:45 AM
  • In essence you can't do what you are asking. Although Section Breaks give the impression being at the beginning of the section, they are actually at the end and contain all the section-specific formatting for what is in the section before them. When you delete a section break the section above gets merged into, and takes the properties of, the section below. Every case is different and must be treated individually; there is no magic bullet :-(
     

    Enjoy,
    Tony
    www.WordArticles.com
    Monday, July 11, 2011 3:40 PM
  •  

    Stefan Blom, Microsoft Word MVP
    Monday, July 11, 2011 5:18 PM
  • In essence you can't do what you are asking. Although Section Breaks give the impression being at the beginning of the section, they are actually at the end and contain all the section-specific formatting for what is in the section before them. When you delete a section break the section above gets merged into, and takes the properties of, the section below. Every case is different and must be treated individually; there is no magic bullet :-(
     

    Enjoy,
    Tony
    www.WordArticles.com

    Actually, you CAN do what the OP is asking.

    To do so, select an area just above the section break, then click File > Page Setup (or File->Print->Page Setup in Word 2010). Then click on
    each of the three tabs (don't change any settings) then click OK.

    Now, click just after the section break and press F4. This will copy the formatting from the area above the section break, to the area below the section break. You can then safely delete the section break as per:

    http://office.microsoft.com/en-us/word-help/delete-a-section-break-HA102778584.aspx

    HTH

    • Proposed as answer by markey165 Wednesday, November 30, 2011 4:41 PM
    Wednesday, November 30, 2011 4:41 PM
  • "markey164" wrote in message news:a04d20d2-5e00-4b23-bfdf-a7a45eaf24ef@communitybridge.codeplex.com...
    Actually, you CAN do what the OP is asking.
     
    To do so, select an area just above the section break, then click File > Page Setup (or File->Print->Page Setup in Word 2010). Then click on
    each of the three tabs (don't change any settings) then click OK.
     
    Now, click just after the section break and press F4. This will copy the formatting from the area above the section break, to the area below the section break. You can then safely delete the section break as per:
     
    http://office.microsoft.com/en-us/word-help/delete-a-section-break-HA102778584.aspx
     
     
     
    For “everything” on section breaks and section formatting, and what happens as you delete section breaks, see http://word.mvps.org/faqs/formatting/WorkWithSections.htm.
     
     

    Stefan Blom, Microsoft Word MVP
    • Proposed as answer by Tenbob UK Friday, April 25, 2014 4:06 PM
    Wednesday, November 30, 2011 7:03 PM
  • Genius - thanks. That just saved me a headache!!!!
    Wednesday, May 08, 2013 8:37 AM
  • You saved me an afternoon of frustration - thanks!
    Thursday, July 04, 2013 6:46 PM
  • I've the same problem.  This is how I work around it.  Select the footer of section to be deleted.  Link to previous.  Unlink to previous.  Delete section break.

    Wednesday, August 28, 2013 5:19 AM
  • Is it just me or this completely counter intuitive? It should be the other way around, delete a section break and it keeps the formatting from the section prior.

    God damn you microsoft

    Wednesday, November 06, 2013 5:31 AM
  • As has been discussed, deleting a Section break causes the Section preceding the break to assume the page layout of the following Section. The following macro works the other way, across multiple (selected) Section breaks. All common page layout issues (margins, page orientation, text columns, headers & footers) are addressed.

    Sub MergeSections()
    Application.ScreenUpdating = False
    Dim sPageHght As Single, sPageWdth As Single
    Dim sHeaderDist As Single, sFooterDist As Single
    Dim sTMargin As Single, sBMargin As Single
    Dim sLMargin As Single, sRMargin As Single
    Dim sGutter As Single, sGutterPos As Single
    Dim lPaperSize As Long, lGutterStyle As Long
    Dim lMirrorMargins As Long, lVerticalAlignment As Long
    Dim lScnStart As Long, lScnDir As Long
    Dim lOddEvenHdFt As Long, lDiffFirstHdFt As Long
    Dim bTwoPagesOnOne As Boolean, bBkFldPrnt As Boolean
    Dim bBkFldPrnShts As Boolean, bBkFldRevPrnt As Boolean
    Dim bOrientation As Boolean, oHdFt As HeaderFooter
    Dim Sctn1 As Section, Sctn2 As Section
    With Selection
      If .Sections.Count = 1 Then
        MsgBox "Selection does not span a Section break", vbExclamation
        Exit Sub
      End If
      Set Sctn1 = .Sections.First: Set Sctn2 = .Sections.Last
      With Sctn1.PageSetup
        lPaperSize = .PaperSize
        lGutterStyle = .GutterStyle
        bOrientation = .Orientation
        lMirrorMargins = .MirrorMargins
        lScnStart = .SectionStart
        lScnDir = .SectionDirection
        lOddEvenHdFt = .OddAndEvenPagesHeaderFooter
        lDiffFirstHdFt = .DifferentFirstPageHeaderFooter
        lVerticalAlignment = .VerticalAlignment
        sPageHght = .PageHeight
        sPageWdth = .PageWidth
        sTMargin = .TopMargin
        sBMargin = .BottomMargin
        sLMargin = .LeftMargin
        sRMargin = .RightMargin
        sGutter = .Gutter
        sGutterPos = .GutterPos
        sHeaderDist = .HeaderDistance
        sFooterDist = .FooterDistance
        bTwoPagesOnOne = .TwoPagesOnOne
        bBkFldPrnt = .BookFoldPrinting
        bBkFldPrnShts = .BookFoldPrintingSheets
        bBkFldRevPrnt = .BookFoldRevPrinting
      End With
      With Sctn2.PageSetup
        .GutterStyle = lGutterStyle
        .MirrorMargins = lMirrorMargins
        .SectionStart = lScnStart
        .SectionDirection = lScnDir
        .OddAndEvenPagesHeaderFooter = lOddEvenHdFt
        .DifferentFirstPageHeaderFooter = lDiffFirstHdFt
        .VerticalAlignment = lVerticalAlignment
        .PageHeight = sPageHght
        .PageWidth = sPageWdth
        .TopMargin = sTMargin
        .BottomMargin = sBMargin
        .LeftMargin = sLMargin
        .RightMargin = sRMargin
        .Gutter = sGutter
        .GutterPos = sGutterPos
        .HeaderDistance = sHeaderDist
        .FooterDistance = sFooterDist
        .TwoPagesOnOne = bTwoPagesOnOne
        .BookFoldPrinting = bBkFldPrnt
        .BookFoldPrintingSheets = bBkFldPrnShts
        .BookFoldRevPrinting = bBkFldRevPrnt
        .PaperSize = lPaperSize
        .Orientation = bOrientation
      End With
      With Sctn2
        For Each oHdFt In .Footers
          oHdFt.LinkToPrevious = Sctn1.Footers(oHdFt.Index).LinkToPrevious
          If oHdFt.LinkToPrevious = False Then
            Sctn1.Headers(oHdFt.Index).Range.Copy
            oHdFt.Range.Paste
          End If
        Next
        For Each oHdFt In .Headers
          oHdFt.LinkToPrevious = Sctn1.Headers(oHdFt.Index).LinkToPrevious
          If oHdFt.LinkToPrevious = False Then
            Sctn1.Headers(oHdFt.Index).Range.Copy
            oHdFt.Range.Paste
          End If
        Next
      End With
      While .Sections.Count > 1
        .Sections.First.Range.Characters.Last.Delete
      Wend
      Set Sctn1 = Nothing: Set Sctn2 = Nothing
    End With
    Application.ScreenUpdating = True
    End Sub


    Cheers
    Paul Edstein
    [MS MVP - Word]


    • Edited by macropodMVP Thursday, November 14, 2013 1:20 AM Code enhancement to preserve header/footer fields
    Wednesday, November 06, 2013 11:29 PM
  • It's Microsoft.

    The same company that changes the Windows UI every two years to keep the impression they're doing something to improve the O.S. instead of crossing their fingers so the gaming industry don't switch to OpenGL.

    They don't give a **** if you and hundreds of millions of people think that it's counter-intuitive. They too busy praying for the big companies to stick with Windows Server and the rest of the enterprise portfolio...


    • Edited by Abelius Thursday, November 14, 2013 1:16 AM
    Thursday, November 14, 2013 1:15 AM
  • This is completely wrong. It is possible to do it quite easily. See other posts for the corerct answer.
    Friday, April 25, 2014 4:10 PM