View Single Post
 
Old 03-11-2021, 03:11 PM
RavindraBanthia RavindraBanthia is offline Windows 10 Office 2007
Advanced Beginner
 
Join Date: Jan 2019
Posts: 33
RavindraBanthia is on a distinguished road
Default

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
Reply With Quote