#1
|
||||
|
||||
Something like indexing
Does anyone know of a way (Macro?) to go over the doc, pick out text formatted with a certain style and then build a table with the text of all the instances of that style and the page No they are on?
I know this is really exactly what inserting an index field ({XE....}) will do, but as I write and write fast, stopping to insert index fields breaks my concentration and I don't have patients at this time to go back and do this... Thank you... Susan |
#2
|
||||
|
||||
Use a custom Table of Contents that refers to that Style.
Word Indexes cannot do as you require unless you manually attach XE fields to every instance of the Style concerned.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
Thought about that. But as I see (am I blind and missing something?) Word will only build a custom TOC based on Paragraph style not on Char styles, right? I need the text of a char style (there are multiple instances of this char style in paragraphs)
|
#4
|
||||
|
||||
Correct, but your post didn't say anything about using character Styles.
That said, you could create a suitable paragraph Style and use Style separators instead of paragraph breaks so that paragraphs in that Style appear to be part of the paragraph before/after that content.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Indexing folders | lstoch | Outlook | 12 | 07-12-2020 07:45 AM |
Indexing | Holger Rudbeck | Word | 2 | 05-02-2020 03:13 PM |
Indexing whole document | Matt Rance | Word | 8 | 11-06-2012 06:05 AM |
Indexing - Subentries | godofpool | Word | 1 | 07-09-2012 11:28 AM |
Indexing in document | rafikul | Word | 0 | 12-17-2009 11:07 PM |