Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #16  
Old 10-09-2014, 02:35 AM
macropod's Avatar
macropod macropod is offline Creating a list of all text in a specific style Windows 7 64bit Creating a list of all text in a specific style Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,366
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

A fairly simple non-vba way to extract all text of a given style is to
• mark all the text as hidden
• use Find/Replace to find all text in your Style and format as unhidden
• copy the document, then use Paste Special>Unformatted text. This will delete all the hidden text. What remains is the text in your Style.



A fairly simple non-vba way to extract all text NOT of a given style is to use Find/Replace to find all text in your Style and delete it. What remains is the content in not your Style.

In each case, you'd probably want to save the results as a new file...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
macro, styles



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a list of all text in a specific style How to set the left indent in a specific style. OfficeBoy95 Word 2 05-12-2014 06:31 PM
Creating a list of all text in a specific style List Style Numbering picks up out of order number from LATER list spthomas Word 12 12-16-2013 05:23 PM
How to set style automatically for specific texts ragesz Word 2 07-25-2013 07:08 AM
Creating a list of all text in a specific style I create a new style but it fails to appear in Quick Style list veronius Word 6 06-18-2013 06:29 PM
Get list of text of a style mavera2 Word 0 03-19-2010 01:59 AM

Other Forums: Access Forums

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