Calculated info in place of page numbers

F

FotoArt

hello everyone

I have calculated info on every page.
Is there a way how I could show this info in the toc in place of the
pagenumber. like so.

This is the heading..............................256 words

any ideas would be appreciated.

thanx
ahmed
 
J

Jonathan West

FotoArt said:
hello everyone

I have calculated info on every page.
Is there a way how I could show this info in the toc in place of the
pagenumber. like so.

This is the heading..............................256 words

Can't be done, at least not using the Table Of Contents provided by Word.
The ToC field doesn't offer this option.

You would have to write a macros that build and update your pseudo-ToC to
your own specifications.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
B

Bear

FotoArt:

You could add the info to the section heading:

This is the heading (256 words) ................26

You could create a TOC for a special caption you create. So you'd create a
caption like "Statistics" and insert a para with this caption in it at the
end of each section. The caption would contain the heading text (by StyleRef
field or typed in as text) and your statistic. You'd then create a TOC for
that caption.

You might have to do some manual editing to get that TOC into the exact
shape you want, but at least you could generate it automatically when needed.

Bear
 
B

Bear

FotoArt:

Sorry, I forgot to mention that you'd have to insert a dummy TOC field for
Table of Figures, right-click that TOC and click Toggle Field Codes, then
edit the field code to replace "Figure" with "Statistic".

While you're there, read the online Help for the TOC field and play around
with the different switches (the \c, \h etc. codes) to see if they get you
any closer to what you want. Don't forget to toggle the field codes to see
the result, AND update the field (F9) after every change you make.

Bear
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top