Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-12-2023, 03:14 PM
Equitas Equitas is offline Table of Contents - WANT out of order Mac OS X Table of Contents - WANT out of order Office 2019
Novice
Table of Contents - WANT out of order
 
Join Date: Aug 2023
Posts: 4
Equitas is on a distinguished road
Smile Table of Contents - WANT out of order

Folks: I wish to use a Table of Contents (TOC) and to have it show in a nested fashion (I can to do this).

However, I wish some of the TOC references to refer to pages out of order. For example:

1 Fruits............................................ ....p15

1.1 Fruits with peel..............................p16

1.1.1 Apples......................................p17

1.1.2 Bananas...................................p104

1.1.3 Oranges...................................p18

1.2 Fruits without peel..........................p19

1.2.1 Berries.....................................p20

etc....



How do I force the TOC to link to a spot later in my document (ie: page 104 for Bananas) but put the listing (of Bananas) in the order I wish?





I will need to update the TOC automatically, so manual movement etc is not desired.



Thank you in advance
Reply With Quote
  #2  
Old 08-12-2023, 05:21 PM
Guessed's Avatar
Guessed Guessed is offline Table of Contents - WANT out of order Windows 10 Table of Contents - WANT out of order Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

If you don't want to reorganise the TOC after updating then you will need to not use a TOC to do this.

You will need to build a series of paragraphs with Cross-Reference fields instead.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 08-13-2023, 08:08 AM
Equitas Equitas is offline Table of Contents - WANT out of order Mac OS X Table of Contents - WANT out of order Office 2019
Novice
Table of Contents - WANT out of order
 
Join Date: Aug 2023
Posts: 4
Equitas is on a distinguished road
Default

Thanks Guessed.

What options are there if I DO want to be able to update it / move things around after creating?
Is there another option?
Reply With Quote
  #4  
Old 08-13-2023, 02:35 PM
Equitas Equitas is offline Table of Contents - WANT out of order Mac OS X Table of Contents - WANT out of order Office 2019
Novice
Table of Contents - WANT out of order
 
Join Date: Aug 2023
Posts: 4
Equitas is on a distinguished road
Default

What if I add a TC Field?
That will allow me to NOT show some of the headings in the body of the document (ie: bananas)....that would be good, as all the text related to Bananas will be at the end of the document.

Now....how do I link my hidden TC field to the latter part of the document?

Can I use a REFERENCE field within the TC Field?

ie: If I referred to the text at page 104.

Would that show in the TOC as I've shown below?
Reply With Quote
  #5  
Old 08-13-2023, 04:01 PM
Charles Kenyon Charles Kenyon is offline Table of Contents - WANT out of order Windows 11 Table of Contents - WANT out of order Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
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

The TC field will be reflected in the TOC as being on the page in which it appears.
TOC Tips and Tricks by Suzanne Barnhill, MVP
Reply With Quote
  #6  
Old 08-13-2023, 04:15 PM
Charles Kenyon Charles Kenyon is offline Table of Contents - WANT out of order Windows 11 Table of Contents - WANT out of order Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
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

Cross-posted at:Table of Contents - WANT out of order - Microsoft Community Hub
For cross-posting etiquette, please read: A Message to Forum Cross-Posters A message to forum cross posters - Excelguru
https://web.archive.org/web/20201027004017/https://www.excelguru.ca/content.php?184Windows secrets rules.
Reply With Quote
  #7  
Old 08-22-2023, 01:03 PM
Equitas Equitas is offline Table of Contents - WANT out of order Mac OS X Table of Contents - WANT out of order Office 2019
Novice
Table of Contents - WANT out of order
 
Join Date: Aug 2023
Posts: 4
Equitas is on a distinguished road
Default

Thank you for all your help...I'll try to stick with this forum.

I've been able to get success with this:

{TC "Entry Name TAB { PAGEREF New1 \h}" \f c \l 4 \n}

Where "New1" is a Bookmark placed where the information is at the end of my document.

The TAB does work on Level 1 of my TOC...but sadly, does not work on other levels (ie, my example has "\l 4" showing above).

I've looked, and my TOC formatting is correct...that is, each level has a dot leader before the tab, and the tabs are formatted for the right side.

Does anyone have any suggestions on how to get the results to show as follows (getting the dot leader in and the page # over on the far right):

Entry Name...............................104

Instead of

Entry Name104

Thanks!
Reply With Quote
  #8  
Old 08-22-2023, 05:07 PM
Guessed's Avatar
Guessed Guessed is offline Table of Contents - WANT out of order Windows 10 Table of Contents - WANT out of order Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

It sounds like there could be a Jason tab creeping in to your TOC to prevent the tab pushing the number over (or the tab may be stripped by the TOC field). I note there is a \d switch for TOC fields which 'defines the separator between sequence and page numbers'. Perhaps that would be a clue to specify the separator.

Can you post a sample document we can experiment on?

I'm thinking perhaps of a different approach. If you bookmark the various ranges in your document, you could then put a series of TOC fields in which draw from those smaller bookmarked ranges. eg
{TOC \o "1-3" \b rng1}
{TOC \o "1-3" \b rng3}
{TOC \o "1-3" \b rng2}
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #9  
Old 08-23-2023, 05:19 AM
kilroyscarnival kilroyscarnival is offline Table of Contents - WANT out of order Windows 10 Table of Contents - WANT out of order Office 2021
Expert
 
Join Date: May 2019
Posts: 345
kilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nice
Default

Quote:
Originally Posted by Equitas View Post
Thank you for all your help...I'll try to stick with this forum.

I've been able to get success with this:

{TC "Entry Name TAB { PAGEREF New1 \h}" \f c \l 4 \n}

Where "New1" is a Bookmark placed where the information is at the end of my document.

The TAB does work on Level 1 of my TOC...but sadly, does not work on other levels (ie, my example has "\l 4" showing above).

I've looked, and my TOC formatting is correct...that is, each level has a dot leader before the tab, and the tabs are formatted for the right side.

Does anyone have any suggestions on how to get the results to show as follows (getting the dot leader in and the page # over on the far right):

Entry Name...............................104

Instead of

Entry Name104

Thanks!
Are you sure there's a tab set up for the right margin?

I'd try highlighting the entire TOC area, go to Paragraph, then the Tabs section, clear all tabs and then manually resetting a 6.5" right tab with a lead. Then also go into the TOC1 and TOC2 Styles, and make sure the tab settings on there don't conflict? Also, this happens to me more in other people's footers than TOC, but check that there's not a weird hanging indent turned on in your paragraph settings?
Reply With Quote
Reply

Tags
order, table of contents



Similar Threads
Thread Thread Starter Forum Replies Last Post
Table of Contents - WANT out of order Convert table of contents to table format and preserving dynamic property of fields laith93 Word VBA 3 12-10-2021 03:22 PM
Table of Contents - WANT out of order Word Table of Contents - when I title a heading "table", table of contents shows "table2" jncuk Word 8 04-15-2020 07:01 PM
Table of Contents - WANT out of order Manipulating Headings so Image contents is correctly referenced in Table of Contents dynamictiger Word 2 05-29-2019 05:41 AM
Table of Contents - WANT out of order Table of Contents -"Permanently" Setting Table of Contents Option KRoger Word 3 03-01-2019 06:36 AM
Pivot Table Question- Can the table display in the order the boxes were checked/selected? blackjack Excel 0 09-13-2014 08:57 PM

Other Forums: Access Forums

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