![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#4
|
|||
|
|||
|
Hello Macropod,
The first routine works perfectly except when the paragraph mark itself is bold/italics. So, I’d first need to clean up all para marks. Also, if the space beyond the italicized element (word/phrase/sentence) is bold/italics, the space is included in the tag. The second routine works like a charm and correctly formats the document based on the tags. Thank you. That helps reduce a lot of the mundane Find/Replace/Insert work. I wonder if the first routine can be easily modified to ignore formatted paragraph marks and formatted space that comes after the relevant formatted text. Also, in both routines, it would be great if we could use a user-defined style for selection of text to be tagged and subsequently the tagged material to be formatted. Even if the routines cannot be extended (easily), thank you indeed. Ravi |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macro to apply Normal dot styles | John9210 | Word VBA | 2 | 06-07-2018 05:15 PM |
| URGENT: Macro to open document and apply other macros successively | Krategy | Word VBA | 1 | 12-02-2016 04:41 PM |
| VBA Word - Find & Apply Styles to Specific Words - Using Case Statement | jc491 | Word VBA | 17 | 12-26-2015 12:25 PM |
| Apply styles in word table | 1van | Word VBA | 2 | 11-17-2015 11:05 AM |
Need help developing a way to visually represent information on Word
|
Liz T | Word | 4 | 07-22-2015 09:10 PM |