#1
|
|||
|
|||
Change stylesheet of all words containing ~
Hello,
I have a document which contain of western text and rtl complex text. Among others i have Stylesheets "Lexem" and "Sense". Now i need a macro which does following in my document: Step1 - Find all Words (Western) which contain the symbol "~" and which have current Style "Lexem" Step2 - Change style of found words from "Lexem" to "Sense" I will be very thankful if some one here could help me with a code. I am uploading first 20 Pages of my real document as example and for testing the code. Thanks for each help in advance. |
#2
|
||||
|
||||
Except for documents saved to HTML, Word hasn't used StyleSheets for decades. Styles are contained in the document itself.
All you need in this case is a simple Find/Replace, where: Find = ~ Format>Style: Lexeme Replace = ^& Format>Style: Sense
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
thank you very much for you kind help. It was more simple than i thought. Thanks
|
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change computer's time, and all appointment times in Outlook's calendar change | TimTDP | Outlook | 0 | 03-14-2017 06:56 AM |
Capitalize one to two words if they are the only words on a line | jrhlavac | Word VBA | 1 | 10-08-2015 08:19 PM |
How to mark underlined words in a sentence as A, B, C, D (beneath the words) | thudangky | Word | 13 | 12-12-2013 02:22 AM |
change the view to final, my change bars disappear. I need them visible | anna.a.julin | Word | 1 | 03-01-2012 08:05 PM |
Why Words doesn’t show the style of the selected words automatically???? | Jamal NUMAN | Word | 0 | 04-14-2011 03:20 PM |