Headings to Bookmarks

O

Oz

Hi, just a simple question.

When I right click a phrase in my document, and select hyperlinks, the
menu for choosing the hyperlink target comes up. I want to link to a
place in the same document.

This obviously brings up a list of all the bookmarks in the document.
However, what I want to link to is under the list of headings, not
bookmarks. Now, the code I have written will only recognise bookmarks
(it searches through looking for a specific one). Is there a way for it
either to recognise headings instead of bookmarks, or to convert all
the headings in to bookmarks?

Thanks.
 
Top