![]() |
|
#3
|
|||
|
|||
|
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. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Entering new text in different color in an existing document
|
davidbish79 | Word | 4 | 03-03-2015 12:58 AM |
| how to add text to a document without existing text moving around? | Athalwolf | Word | 7 | 12-16-2014 05:16 PM |
Text format different than existing one
|
Manrak | Word | 1 | 08-11-2013 04:51 PM |
| Macro for tagging and rearranging selected text for revision | caotico | Word VBA | 0 | 03-28-2012 06:35 PM |
| Formatting existing text | Kaila | Word | 0 | 09-03-2011 05:40 PM |