The information that Pesach has given you is quite correct. However, if you
really want a "Table of Bookmarks", I believe your only option is to create
(and maintain) one manually. This can be done using cross-references, but
note that as you add bookmarks to your document, you will need to add the new
bookmarks to the "TOB", which may be somewhat time consuming. In addition, it
might require a bit of "hoop-jumping" to to make this TOB look like a TOC
with page numbers, dot leaders, etc., but a correctly defined Style might be
quite helpful in this regard.
Alternatively, you may be able to do something with TC fields inserted
before each bookmark. This would allow the TOB to be build automatically, but
again a bit of fiddling might be required to achieve the desired result -
especially if the document already contains a TOC built using Headings.
And since you asked this question in the Word programming (i.e. macros/VBA)
forum, I'm sure there's a way to do this all using code. However, until you
confirm that you actually *do* want an automated solution, I'm a bit hesitant
to put a lot of effort into developing one. And if you do want to automate
the process using VBA, my first suggestion would be to have a stab at it
yourself. Work out the process manually and then use the macro recorder to
get you started, and post back if you run into problems.
--
Cheers!
Gordon Bentley-Mix
Word MVP
Please post all follow-ups to the newsgroup.
Read the original version of this post in the Office Discussion Groups - no
membership required!