Deleting Section Breaks


S

Seth

I am working with a long document in Word 97 that has a
large number of section breaks. What is the fastest way
to eliminate all of the breaks at once? I am trying to
avoid deleting them individually. Thank you for your
assistanc.
 
Ad

Advertisements

D

Doug Robbins - Word MVP

Hi Seth,

Use Edit>Replace with ^b in the Find what control and nothing in the Replace
with control. If you need them to be replaced with a manual page break, put
^m in the Replace with control. Click on the More button under the
Edit>Replace Dialog and then on Special to see additional options.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
S

Seth

I have tried what you suggested and Word comes back
with "0 replacements". I am working within a table.
Could that be the problem? Thanks again.
 
Ad

Advertisements

T

Tonya Marshall

Here's a macro that Dave Rado wrote to delete section breaks between
tables and a copy of his note with it.

"Do the section breaks that you can't replace immediately precede
tables? If so, Word won't delete them via a Find & Replace (I hope
you'll email (e-mail address removed) about that).

You could use the following macro instead:


Sub DeleteSectionBreaks()
Dim oSection As Section
If ActiveDocument.Sections.Count > 1 Then
For Each oSection In ActiveDocument.Sections
oSection.Range.Characters.Last.Delete
Next
End If
End Sub

Regards
Dave"

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top