Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / June 2006

Tip: Looking for answers? Try searching our database.

TOC using Text in Table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Geoff - 08 Jun 2006 16:42 GMT
Is is possible to create a table of contents using text drawn from two
columns of a table?

Column 1 of my table contains a number.  Column 2 contains some text.

I want my table of contents to display the number and the text on the same
line (perhaps separated by a tab), with the page number aligned to the right
margin; eg

1.  My First Subject..................................2
2.  My Second Subject.............................4

TIA
Geoff
Doug Robbins - Word MVP - 08 Jun 2006 20:01 GMT
There is no doubt that, with a macro, you could create what appears to be a
table of contents with that information.  You could not however do it using
the normal method of creating a table of contents that results in the
creation of a { TOC } field that can be updated.

To update a "table of contents" created by such a macro, it would be
necessary to re-run the macro (after first deleting and such "table of
contents" that was already in the document, but the deletion could also be
handled by the macro).

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Is is possible to create a table of contents using text drawn from two
> columns of a table?
[quoted text clipped - 10 lines]
> TIA
> Geoff
Geoff - 08 Jun 2006 20:44 GMT
Doug,
Many thanks.
I thought that probably was the case.
Geoff

> There is no doubt that, with a macro, you could create what appears to be
> a table of contents with that information.  You could not however do it
[quoted text clipped - 20 lines]
>> TIA
>> Geoff
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.