G
Gem_man
This is driving me nuts because I cannot even get off the starting grid.
I want to be able to programmatically go to each paragraph in large document
that starts with "Yummy Fruit" and is in style Header 2 (Yummy Fruit may
appear else where but wont be in Heading 2)
Then copy only the text that is in bold from the paragraph below and copy it
to the paragraph above "Yummy Fruit"
It sounds easy but I am darned if i can figure it out.
This is what it looks like before the code would act on it:-
Yummy Fruit (In style Heading 2)
1. try eating (in non-bold) Oranges, Apples and Pears (in bold) they are
really good for you.
This is what I want:-
Oranges, Apples and Pears (anotherStyle)
Yummy Fruit (style Heading 2)
1. try eating (in non-bold) Oranges, Apples and Pears (in bold) they are
really good for you.
Has anyone got any brilliant ideas to get me started? I really would be most
grateful
Regards
I want to be able to programmatically go to each paragraph in large document
that starts with "Yummy Fruit" and is in style Header 2 (Yummy Fruit may
appear else where but wont be in Heading 2)
Then copy only the text that is in bold from the paragraph below and copy it
to the paragraph above "Yummy Fruit"
It sounds easy but I am darned if i can figure it out.
This is what it looks like before the code would act on it:-
Yummy Fruit (In style Heading 2)
1. try eating (in non-bold) Oranges, Apples and Pears (in bold) they are
really good for you.
This is what I want:-
Oranges, Apples and Pears (anotherStyle)
Yummy Fruit (style Heading 2)
1. try eating (in non-bold) Oranges, Apples and Pears (in bold) they are
really good for you.
Has anyone got any brilliant ideas to get me started? I really would be most
grateful
Regards