Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 03-11-2021, 03:11 PM
RavindraBanthia RavindraBanthia is offline Help in finding/developing a macro to markup and apply styles to a Word document Windows 10 Help in finding/developing a macro to markup and apply styles to a Word document Office 2007
Advanced Beginner
Help in finding/developing a macro to markup and apply styles to a Word document
 
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
 



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
Help in finding/developing a macro to markup and apply styles to a Word document Need help developing a way to visually represent information on Word Liz T Word 4 07-22-2015 09:10 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft