Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 05-02-2019, 03:32 PM
kdlsmith kdlsmith is offline Table of Contents to point to paragraph number that follows Windows 7 64bit Table of Contents to point to paragraph number that follows Office 2016
Novice
Table of Contents to point to paragraph number that follows
 
Join Date: May 2019
Posts: 4
kdlsmith is on a distinguished road
Default

Charles,

I should have done a stepwise request rather than the whole thing.

I will try to re-state my question.
___________________

I have the following TOC code: { TOC \o "1-4" \c "H-List" \n \p " " \u }

It produces a table of contents that displays Headings 1-4 and also displays the paragraph number and text that has been tagged with a { seq H-List } identifier:

Table of Contents
I. This is Heading 1
[1] This is H1-Body text and the paragraph number I want (but not the text).
A. This is Heading 2
[5] H2-Body text follows and the number before it is the paragraph number.
1. This is Heading 3
[8] The H3-Body style will follow the third heading.
a.This is Heading 4
[11] A final set of texts to illustrate entry H4-Body.

I do not want any of the text that follows the numbers in square bracket. I.e., I would like my table of contents to look like this:

Table of Contents
I. This is Heading 1
[1]
A. This is Heading 2
[5]
1. This is Heading 3
[8]
a.This is Heading 4
[11]

(Which means that my Heading 1 refers to a paragraph number and not a page number, but I do not include the paragraph text).

I just don't have the skill to adjust the switches to not include the paragraph text but to include the paragraph number.

The table of contents is generated from the following layout:

I. This is Heading 1

[1] This is H1-Body text and the paragraph number I want.
[2] BodyText
A. This is Heading 2

[3] H2-Body text follows and the number before it is the paragraph number.
[4] BodyText
1. This is Heading 3

[5] The H3-Body style will follow the third heading.
[6] BodyText
a. This is Heading 4

[7] A final set of texts to illustrate entry H4-Body.
[8] BodyText



I also get a similar table of contents with the following, { TOC \o "1-4" \n \t "Body-H1,1,Body-H2,2,Body-H3,3,Body-H4,4" }:
I.This is Heading 1
[1]This is H1-Body text and the paragraph number I want.
A.This is Heading 2
[3]H2-Body text follows and the number before it is the paragraph number.
1.This is Heading 3
a.This is Heading 4
[4] A final set of texts to illustrate entry H4-Body
(gives the same result as the \c TOC, but retains formatting (which is preferred))

Quote:
Originally Posted by Charles Kenyon View Post
No.

To say that I do not understand what it is you want is an understatement.

There are many ways to get things into a TOC.
TOC Tips and Tricks by Suzanne Barnhill, MVP
Reply With Quote
 

Tags
paragraph number, table of content, \c switch



Similar Threads
Thread Thread Starter Forum Replies Last Post
Table of Contents to point to paragraph number that follows Irritating formatting issue in Table of Contents - page number "dots" disappear Eriks Word 9 04-19-2019 06:18 PM
Table of Contents to point to paragraph number that follows How to number table cells continuously from a fixed point within the table in Word 2013 wondermuse Word Tables 15 12-07-2015 12:16 AM
Table of Contents to point to paragraph number that follows Page number intend problem in table of contents cabr Word 1 07-16-2015 02:00 AM
Table of Contents to point to paragraph number that follows Customize styles for Chapters and paragraph titles on pages and table of contents tzanarella Word 1 07-11-2014 12:17 PM
Table of Contents to point to paragraph number that follows Table of contents without page number lollazzo Word 1 05-06-2014 05:09 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:17 AM.


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