View Single Post
  #11  
Old September 17th, 2004, 07:39 PM
Jason L
external usenet poster
 
Posts: n/a
Default

Jean-Guy,

I guess I spoke too soon. When the section break is entered, a large space
is created beneath the word and the next paragraph or sentence. This is not
a huge deal, but the user is unhappy with it.

Here is the code I am using for the section break:

Const LookFor As String = "Recommendations:"

With ActiveDocument.Content.Find
.ClearFormatting
.Text = LookFor
With .Font
.Name = "Times New Roman"
.Bold = True
.Size = 11
End With
Do While .Execute
With .Parent
.Collapse wdCollapseEnd
.InsertBreak wdSectionBreakContinuous
.Collapse wdCollapseEnd


End With
Loop
End With

I tried to use something like this to remove the space (which has the
paragraph marker tied to the section break in this area), but it's not
working. Essentially, it looks like this:

RecommendationsSection break)
Paragraph Mark tied to section break

(New Text )

Thanks for any help you can give.

-Jason


"Jean-Guy Marcil" wrote:

Bonjour,

Dans son message, Jason L écrivait :
In this message, Jason L wrote:

|| Jean-Guy,
||
|| Actually, my colon wasn't bolded. Thanks so much for your help. This is
|| working great now.
||

Glad you sorted it out.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
ISTOO
Word MVP site:
http://www.word.mvps.org