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

        
Join Tech Support Forum Today

Closed Thread
 
Thread Tools Search this Thread


Old 04-13-2012, 04:58 AM   #1
Registered Member
 
Join Date: Sep 2010
Posts: 28
OS: Windows XP


Deleting cloned paragraphs

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-13-2012, 11:43 PM   #2
Moderator
- Microsoft Support
Microsoft MVP

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


Re: [SOLVED] Cloning Paragraphs within the Active Document

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




All times are GMT -7. The time now is 05:42 PM.


Copyright 2001 - 2012, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security