![]() |
|
#2
|
||||
|
||||
|
Firstly - why? What is the point of removing style information and applying the style formatting as local formats instead? In this macro you will lose all existing local formatting which it appears you are quite attached to for some reason.
You say you want to change 'structure level' - do you mean you want to change the outline level of the paragraphs but retain the formatting? What is the point of the undeclared MyStyle variable? It doesn't get used and is trying to re-create a built-in style that already exists in English versions of Word. With the second macro, how is it different to just applying Normal to the entire contents of the document? And finally, there are two different built-in styles called 'Normal' and 'Body Text'. The styles are not the same thing so be careful with your terminology.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VBA to conditionally hide text by language/structure? | tyxanu | Word VBA | 10 | 08-31-2020 11:14 PM |
| Normal, Body Text or Body Text Indent? | Riddles | Word | 3 | 04-08-2017 05:06 PM |
Numbering Body text with prefixed Heading Level
|
kmeloy | Word | 5 | 10-04-2012 01:04 AM |
| Complicated question about multi-level list with body text | rhino79 | Word | 5 | 08-26-2012 05:17 AM |
| Outline level to Body Text | dariober | Word | 0 | 08-23-2010 02:54 AM |