Re: Replacing a whole paragraph
- From: "Newzad Hirori" <nawzads@xxxxxxxxxxx>
- Date: Wed, 01 Jun 2005 14:40:16 GMT
Dear Richard,
The para. do begin with a constant #02 but its end is only determined by the
para. sign. How many characters and blanks follow #02 is not fixed. What
shall I do?
"mpt" <mpt@xxxxxxxxx> skrev i meddelandet
news:Ot6ne.22755$PS3.13349@xxxxxxxxxxxx
> Newzad, if para. #2 does indeed start with "#2" (and the content is
> uniform, say only one period at the end of the paragraph) I would create a
> macro (alt-t-m-r) called "junk" and assign it to keyboard shortcut ctrl-j.
>
> Then I would have it do the following:
>
> 1. search for the unique beginning to each paragraph you want to delete.
> ("#2"?)
> 2. escape
> 3. search for period at end of paragraph.
> 4. press right arrow until your cursor is to the left of "#3".
> 5. press ctrl-shift and up arrow until para. #2 is highlighted, along with
> its trailing carriage returns.
> 6. delete
> 7. stop macro recording.
>
> Now go to top of your document and press ctrl-j until all your deletions
> are made.
>
> If the formatting of your #2 para. is not uniform or if there is not a
> unique character combination at the beginning of the para, you're hosed
> pretty much. In this event, you could perhaps search for every third
> combination of two carriage returns (^p^p) and do something like I've
> suggested.
>
> I hope this is the germ of a solution for you.
>
> Richard
>
> "Newzad Hirori" <nawzads@xxxxxxxxxxx> wrote in message
> news:CVWme.26019$d5.176425@xxxxxxxxxxxxxxxxxx
>> Dear all,
>>
>> Is there a way to find and replace a whole paragraph in Word? My document
>> consists of many paragraphs like these:
>>
>> #01 article
>>
>> #02 author
>>
>> #03 source.
>>
>>
>>
>> What I want is to delete all occurrences of #02 in the document.
>>
>>
>>
>> - Newzad
>>
>>
>
>
.
- Follow-Ups:
- Re: Replacing a whole paragraph
- From: mpt
- Re: Replacing a whole paragraph
- References:
- Re: Replacing a whole paragraph
- From: mpt
- Re: Replacing a whole paragraph
- Prev by Date: Finding and removing duplicate words
- Next by Date: INITIAL CAPS- all words
- Previous by thread: Re: Replacing a whole paragraph
- Next by thread: Re: Replacing a whole paragraph
- Index(es):
Relevant Pages
|