Hi Hikmetotheron,
I don't believe it will be feasible to do that with a macro. For the code to work out where the page references for each of the paragraphs in the upper portion of the page come from would be quite problematic. Indeed, it seems that what you really need is to either use a Table of Contents field (with corresponding Heading Styles for it to link to) or build up an Index, using Index fields.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|