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
 
Top