Re: Replacing a whole paragraph

Tech-Archive recommends: Fix windows errors by optimizing your registry



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
>>
>>
>
>


.



Relevant Pages

  • Re: Unusual paragraph marks--cursor appears AFTER them, etc.
    ... Show/Hide and the characters are typically the same intensity as the other ... reopened the file and the paragraph marks behave normally. ... marks; I guess I've never had a doc that was corrupted in that way... ... I've never seen the 'ghost' para marks as you describe in more than 15 ...
    (microsoft.public.mac.office.word)
  • Re: Heading Style wont stick
    ... but it may be the result of your "empty paras" at the ... BTW - When you apply a para style it isn't necessary to select ... what happened to the heading style assigned to "Fred"? ...
    (microsoft.public.mac.office.word)
  • Re: Unusual paragraph marks--cursor appears AFTER them, etc.
    ... the text out from around it then delete the whole "paragraph" to get it out. ... marks; I guess I've never had a doc that was corrupted in that way... ... More info may also be asked for, like is it just the next para that gets ... an extra space character. ...
    (microsoft.public.mac.office.word)
  • Re: Unusual paragraph marks--cursor appears AFTER them, etc.
    ... I've never seen the 'ghost' para marks as you describe in more than 15 ... More info may also be asked for, like is it just the next para that gets ... but still have the odd paragraph marks--it's so strange that ... arrow character...I am getting the pilcrow character. ...
    (microsoft.public.mac.office.word)
  • Re: table style question, space before and after
    ... I find that if there is a blank para following the table, I can select the table and use format, para to add space below to adjust the space between the table and following para. ... (Maybe this is only true if there is nothing following the table other than the para mark?) ... The requirement for a normal text paragraph ... >> You can add some Spacing After (Format | Paragraph, ...
    (microsoft.public.word.newusers)