View Single Post
 
Old 03-11-2014, 11:48 AM
shansen shansen is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Feb 2014
Posts: 3
shansen is on a distinguished road
Default Creating a TOC with sequential letters instead of page numbers at the right margin

Hello,
I'm trying to create a Table of Contents for the appendices in my report template, so it will automatically generate the list of appendices for future users of the template. I have a custom style for the appendix headings (i.e. Appendix B), and a custom style for appendix titles/names (i.e. Laboratory Results). Each appendix has a title page with the heading and title on it, and then several pages making up the appendix content itself.

I'd like to make a list of appendices which will show the Appendix Title at the left margin and the A, B, C, etc. of the Appendix Heading at the right margin. I can get this to work with a regular table of contents using page numbers in the appendices formatted as letters (the Appendices are a new section), but then if I add the appendix content pages in between the appendix title page, it doesn't work, the table shows the page numbers skipping from A to F to M, etc.

It seems like there should be a way to build the table "manually" (but so it would still auto-update) with field codes, like using StyleRef for the left part of each line, and using an AUTONUM for the right part of each line, but this just returns the title of the first Appendix repeatedly on every line, instead of finding the next one after that for the next line.

I'm trying to make this work so that people using the template could add/delete appendices and still have the table include everything. Most of the template users will not be advanced Word users.

Any ideas? Thanks very much for your help!
Reply With Quote