TOC with wordcount/bookmark not pagenumber

F

FotoArt

hello every one
How could I make a TOC with something else in place of the page number.
I want to put a calculated figure where page number appears. something like
word count.

Any help will be appreciated.

thanx
ahmed
 
D

Doug Robbins - Word MVP

You are going to need to use VBA to do this by iterating through each
section of the document that is related to the TOC entry and using
Selection.Range.ComputeStatistics(wdStatisticWords) as an example to get the
number of words in the text that is selected.

--
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
 

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