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 / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Alterations to TOC

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
madhucool@hotmail.com - 26 Mar 2008 09:41 GMT
Hi,

I need to alter the existing TOC for the problem given below:

Gather all the "heading2"s (which are particular folios in my case)
in
the document; auto-generate a table the heading 2 should be in col1.
I
have some other values that need to go into col2 and col3
corresponding to the headings.

<Heading 2>     <Some  value M>          <Some value k>
<Some
value x>
folio1                M1
K1                               X1
folio 2               M2
K2                               X2
.
.
.
.
folio N               Mn
Kn                               Xn

The column one is something that you see in a normal TOC. I can still
achieve this by the following steps:

1. Generate a TOC without page numbers
2. Convert the field codes to normal text
3. Convert the text to table
4. Add columns to the table

But this doesn't:

1. Preserve the hyperlinks
2. The table will not be updated when there is a new "heading2" added
3. or when an "heading 2" is deleted or updated.

Is there a way to over come the above mentioned short comings?
Tony Strazzeri - 29 Mar 2008 00:51 GMT
On Mar 26, 7:41 pm, madhuc...@hotmail.com wrote:
> Hi,
>
[quoted text clipped - 36 lines]
>
> Is there a way to over come the above mentioned short comings?

Hi  madhuc,

I don't believe it is possible to overcome the shortcomings by using
the TOC method you describe.  As you realize the links are lost when
you do the paste as text.

Where are the other columns coming from?

If you can do this programmatically once why not just run it again as
needed?

Sorry can't be of any help on this one.

Cheers
TonyS.

Rate this thread:






 
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.