In a MS Word document, I want to create a summary table (kind of a summary table of contents) which contains a long list of sub-topics within that section (~40 of them) that all share a common (custom) style. I still need a separate TOC at the top, which would not contain these items at all (this part is done). I know how to create a TOC - but I have a couple problems to solve.

So essentially I need to create a table of contents that: 1. is based on a custom style [Done] 2. where each "section header" consists of 3 fields within a table row [Problem] 3. either keeps the formatting of the target "section header" (table row) or adds some static text between each of three columns [Problem]

The data that I want to list in this summary table are contained in tables (first problem), and I want it to be presented in the summary table the same way.

The text I want to summarize in this list looks like:

[Header 1] [Header 2] [Header 3]
[Field 1]  [Field 2]  [Field 3]   <-- "section header" row uses a custom style
Paragraph of explanation

Just to put this in context, these are User Stories which are repetitive statements that follow a standard form (and need to stay that way) - but part of which are contained in the table header. Example:

Header:  [As a...]    [I want to...]          [so that...]
Row:     [Doctor]     [write prescriptions]   [patients can be cured]

I know getting the TOC to actually BE in a table is a problem, so I would be fine with it not being in a table, but I'd have to add in some static text to make it a sentence:

As a [Field 1] I want to [Field 2] so that [Field 3]

or it can be in the same table format as the source (and I can manually add the header row):

[Header 1] [Header 2] [Header 3]
[Field 1]  [Field 2]  [Field 3]

I tried creating a TOC using this style and it worked, except that it took one row:

[Doctor]     [write prescriptions]   [patients can be cured]

and created a TOC that looked like this:

Doctor...............................28
Write prescriptions..................28
Patients can be cured................28

Where the above should have only been one line, before even addressing the other formatting challenges that I have.

Is there something else that I can use? I'm thinking that this may very well end up needing to be a Macro/VBA code. Any ideas? The objective is to have the TOC automatically update based on the styles (even if you have to press a button to update).

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.