Thanks for the quick reply.
So Basically the text documents will have the first paragraph. Once I select the paragraph and run the macro it will convert the selected paragraph to the second paragraph.
each of MYTEXT are hardcoded text strings (i.e. a sentence).
The macro will
-look for number followed by apostrophe (i.e. 1. 2. etc) and insert MYTEXT1 before it
-look for bold text and non-bold portion in the selected paragraph and rearrange them and insert MYTEXT2, MYTEXT3 & MYTEXT4 so that the outcome looks like following. It also unbold the bold text finally. Basically I am trying to use the bold formatting as indicator of what text need to move where.
MYTEXT1 1. MYTEXT2 regular text & character part1 regular text & character part2 MYTEXT3 bold or underlined text & character partA bold or underlined text & character partB MYTEXT4 bold or underlined text & character partA bold or underlined text & character partBnumber of regular or bold text part can be one or more.
|