Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-15-2015, 11:21 PM
ljd108 ljd108 is offline Listing specific styles in the order that they appear Windows Vista Listing specific styles in the order that they appear Office 2010 32bit
Novice
Listing specific styles in the order that they appear
 
Join Date: Oct 2014
Posts: 24
ljd108 is on a distinguished road
Default Listing specific styles in the order that they appear

Hi,



I have a word document made up of over 200 'Headings' and various styles. I would like to find a way of finding all instances of 1 particular character style (there are over 2,000 instances of this style which are all 1-2 words within a normal paragraph style) and include which heading it sits under. At the moment I have tried to find all instances of the Headings stye and the other style and copy and paste them however the paste creates a listing in order of styles (i.e. all headings then all of the other style) rather than in the order in which they appear.

Is there any other way that I could do this?

Thanks

Lucy
Reply With Quote
  #2  
Old 01-16-2015, 12:24 AM
macropod's Avatar
macropod macropod is offline Listing specific styles in the order that they appear Windows 7 64bit Listing specific styles in the order that they appear Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Unless you want to use a macro, you could do this manually by:
1. Marking all text as hidden
2. Use Find/Replace to unhide all text in your Heading Styles
3. Use Find/Replace to unhide all text in your 'special' Styles and insert a paragraph break after them.
Unless you have Word configured to display hidden text, you will now see just the headings and the 'special' Styles that appear under them.

If you want to delete all the content other than your headings and the 'special' Styles that appear under them, you can either:
a. Select the entire document (e.g. Ctrl-a), then cut and paste using Paste Special>Unformatted text. This will remove all formatting but will still leave you with the same listing; or
b. Select the content between the headings, then cut and paste using Paste Special>Unformatted text. This will remove all formatting between the headings but will likewise leave you with the same listing.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 01-16-2015, 05:39 AM
ljd108 ljd108 is offline Listing specific styles in the order that they appear Windows Vista Listing specific styles in the order that they appear Office 2010 32bit
Novice
Listing specific styles in the order that they appear
 
Join Date: Oct 2014
Posts: 24
ljd108 is on a distinguished road
Default

Hi thanks for this,

When I try and do it and do the Find/Replace it does not find anything. Am I doing something wrong?

Thanks

Lucy
Reply With Quote
  #4  
Old 01-16-2015, 05:41 AM
ljd108 ljd108 is offline Listing specific styles in the order that they appear Windows Vista Listing specific styles in the order that they appear Office 2010 32bit
Novice
Listing specific styles in the order that they appear
 
Join Date: Oct 2014
Posts: 24
ljd108 is on a distinguished road
Default

I am also happy to use a Macro if you have one? Thanks

Lucy
Reply With Quote
  #5  
Old 01-16-2015, 05:17 PM
macropod's Avatar
macropod macropod is offline Listing specific styles in the order that they appear Windows 7 64bit Listing specific styles in the order that they appear Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Did you specify the Style name in the Find/Replace Dialogue as the Find parameter and the font format as unhidden for the Replace parameter?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Listing specific styles in the order that they appear Macro to delete text in specific styles ljd108 Word VBA 14 01-22-2019 01:22 PM
Can I have 2 styles in one paragraph in order to populate a TOC with the first words only? mlkmnsgrl Word 6 01-01-2015 10:44 AM
Listing specific styles in the order that they appear Macro to change specific text styles ljd108 Word VBA 3 10-22-2014 03:19 PM
Listing specific styles in the order that they appear Mail Merge a Listing grouped by specific field KarenLS Mail Merge 1 11-11-2012 02:41 PM
Listing specific styles in the order that they appear listing and counting words gencoglux Word 2 05-07-2010 05:10 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:13 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft