Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support

Deleting cloned paragraphs

This is a discussion on Deleting cloned paragraphs within the Microsoft Office support forums, part of the Tech Support Forum category. Hi, This question was related to the previous question from which i got the macro ... Code: Sub Demo() Application.ScreenUpdating


Closed Thread
 
Thread Tools Search this Thread
Old 04-13-2012, 05:58 AM   #1
Registered Member
 
Join Date: Sep 2010
Posts: 28
OS: Windows XP



Hi,

This question was related to the previous question from which i got the macro ...

Code:
Sub Demo()
Application.ScreenUpdating = False
Dim oPara As Paragraph
For Each oPara In ActiveDocument.Paragraphs
  With oPara.Range
    .InsertBefore .Text
   .Paragraphs.First.Range.Font.Color = wdColorOrange
  End With
Next
Application.ScreenUpdating = True
End Sub
now the new requirement for this was to remove the inserted paragraph[inserBefore .Text]

Can you please provide the macro or reference for this.

Thanks In advance!
Shail

__________________
ShaileshShinde is offline  
Old 04-14-2012, 12:43 AM   #2
Moderator
- Microsoft Support
Microsoft MVP

Microsoft Most Valuable Professional
 
Join Date: Apr 2008
Location: Australia
Posts: 2,020
OS: Win 7 (64-bit)



You really don't need a macro for that - simply use Find/Replace to remove all the bold text.
__________________
Cheers
Paul Edstein
[MS MVP -Word]

macropod is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2


All times are GMT -7. The time now is 09:29 AM.


Copyright 2001 - 2014, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts