Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 11-27-2023, 03:19 PM
Guessed's Avatar
Guessed Guessed is offline Stable change to structure level 'Body Text' Windows 10 Stable change to structure level 'Body Text' Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,185
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

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

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
Stable change to structure level 'Body Text' 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

Other Forums: Access Forums

All times are GMT -7. The time now is 03:19 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