Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-25-2015, 10:35 PM
Guessed's Avatar
Guessed Guessed is offline Use multiple style sets in the same Word document (depending on which section the style is in) Windows 7 32bit Use multiple style sets in the same Word document (depending on which section the style is in) Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
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

The easiest way to do this is to keep the sections in separate documents so the style definitions can be different. You could then merge the separate Word documents into a single PDF if needed.

If you MUST merge these into a single Word document it does become messy and you would almost certainly want to use a macro to apply a different style according to the section your style appears IF the content already exists. If the content doesn't already exist then you just need to know where you are when you are choosing styles.

The macro would probably be simplest and run fastest if you had a standard way of bookmarking each section. That way, instead of iterating through every paragraph you could do a find/replace in a range.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - Run-time error 91 - VBA for inserting and formatting text depending on style mtrborges Word VBA 2 02-08-2015 11:35 PM
Use multiple style sets in the same Word document (depending on which section the style is in) Word 2010 - Style Sets not fully loading / loading properly emilypage Word 3 11-09-2012 01:11 AM
Word 2010 Style Sets Sampler Charles Kenyon Word 0 05-17-2012 02:00 AM
How to add to list of Style Sets oscarsonthepond Word 3 09-20-2011 03:15 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:39 PM.


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