From: Cameron on
Hi guys, I'm hoping you can help with this - my wife is working her way
through a 894 page list of parts and she has to add a particular thing before
each part and after each part. See examle below

She has

8mm Kingchrome spanner
10mm Stanley screwdriver
...... (it goes on for 894 pages like this)

She needs it to end up like below

title @8mm Kingchrome spanner@
category.list @
@
title @10mm Stanley screwdriver@
category.list @
@

Can anyone offer a tip on how this can be done, she is developing RSI (as
you can imagine) and I promised her I would find a way to do this easily.

Thanks so much in advance!

Cam
From: Jay Freedman on
You can do this in one step with a properly constructed Replace
operation.

Open the Replace dialog and click the More button to open the bottom
half of the dialog. Check the box for "Use wildcards".

In the Find What box, enter

(^13)

In the Replace With box, enter


@\1category.list @^p@^ptitle @

Click the Replace All button and wait until the replacement is
complete.

Afterward, you'll need to add the "title @" on the first line and
delete it from the last line on the last page.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Wed, 27 Jan 2010 16:38:02 -0800, Cameron
<Cameron(a)discussions.microsoft.com> wrote:

>Hi guys, I'm hoping you can help with this - my wife is working her way
>through a 894 page list of parts and she has to add a particular thing before
>each part and after each part. See examle below
>
>She has
>
>8mm Kingchrome spanner
>10mm Stanley screwdriver
>..... (it goes on for 894 pages like this)
>
>She needs it to end up like below
>
>title @8mm Kingchrome spanner@
>category.list @
>@
>title @10mm Stanley screwdriver@
>category.list @
>@
>
>Can anyone offer a tip on how this can be done, she is developing RSI (as
>you can imagine) and I promised her I would find a way to do this easily.
>
>Thanks so much in advance!
>
>Cam