Thread: [Solved] For next fail
View Single Post
 
Old 10-06-2016, 08:06 PM
Fred256 Fred256 is offline Windows 10 Office 2007
Novice
 
Join Date: Oct 2016
Posts: 5
Fred256 is on a distinguished road
Default For next fail

Kind of curious why this never moves to Next Paragraph ?
If line <<<<< is remmed out it does, but still has me baffled.

Code:
For Each p In ActiveDocument.Paragraphs
   Thistext = p.Range.Text
   Debug.Print Thistext
    If meetssomecondition = True Then
      p.Range.Font.Bold = True
      p.Range.Text = Thistext <<<<<
    End If
Next
Reply With Quote