#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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] |
#3
|
|||
|
|||
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 |
#4
|
|||
|
|||
I am also happy to use a Macro if you have one? Thanks
Lucy |
#5
|
||||
|
||||
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] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
Macro to change specific text styles | ljd108 | Word VBA | 3 | 10-22-2014 03:19 PM |
Mail Merge a Listing grouped by specific field | KarenLS | Mail Merge | 1 | 11-11-2012 02:41 PM |
listing and counting words | gencoglux | Word | 2 | 05-07-2010 05:10 PM |