Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2021, 12:06 AM
RRB's Avatar
RRB RRB is offline Something like indexing Windows 8 Something like indexing Office 2013
Susan Flamingo
Something like indexing
 
Join Date: May 2014
Location: The Holy City of Jerusalem
Posts: 263
RRB is on a distinguished road
Wink 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
Reply With Quote
  #2  
Old 05-26-2021, 01:12 AM
macropod's Avatar
macropod macropod is offline Something like indexing Windows 10 Something like indexing Office 2016
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

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]
Reply With Quote
  #3  
Old 05-26-2021, 02:02 AM
RRB's Avatar
RRB RRB is offline Something like indexing Windows 8 Something like indexing Office 2013
Susan Flamingo
Something like indexing
 
Join Date: May 2014
Location: The Holy City of Jerusalem
Posts: 263
RRB is on a distinguished road
Default

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)
Reply With Quote
  #4  
Old 05-26-2021, 03:29 AM
macropod's Avatar
macropod macropod is offline Something like indexing Windows 10 Something like indexing Office 2016
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

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]
Reply With Quote
  #5  
Old 05-26-2021, 12:05 PM
Charles Kenyon Charles Kenyon is online now Something like indexing Windows 10 Something like indexing Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,149
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Here is more about the Style Separator.
See also: TOC Tips and Tricks by Suzanne Barnhill, MVP
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Indexing folders lstoch Outlook 12 07-12-2020 07:45 AM
Something like indexing Indexing Holger Rudbeck Word 2 05-02-2020 03:13 PM
Something like indexing Indexing whole document Matt Rance Word 8 11-06-2012 06:05 AM
Something like indexing Indexing - Subentries godofpool Word 1 07-09-2012 11:28 AM
Indexing in document rafikul Word 0 12-17-2009 11:07 PM

Other Forums: Access Forums

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