Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-06-2016, 08:06 PM
Fred256 Fred256 is offline For next fail Windows 10 For next fail Office 2007
Novice
For next fail
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert File Printout w/ PDF fail jsilvoy OneNote 0 03-05-2015 06:44 PM
Fail to insert “table of content”, Jamal NUMAN Word 7 11-16-2013 01:21 AM
Big presentation, links fail: solution theredspecial PowerPoint 6 08-26-2013 10:35 PM
Office repair fail markg2 Office 1 08-18-2013 07:23 AM
Shortcuts Fail sussertown Outlook 0 02-16-2009 06:38 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:16 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