> Hi,
>
[quoted text clipped - 7 lines]
>
> Mike Fellows
This is how to do it in VBA, you should be able to translate into VB.NET
without too much trouble
To get the bookmarks in alphabetical order of name
Dim oBookmark as Bookmark
For Each oBookmark in ActiveDocument.Bookmarks
Debug.Print oBookmark.Name
Next oBookmark
To get the bookmarks in the order they appear in the body of the document
Dim oBookmark as Bookmark
For Each oBookmark in ActiveDocument.Range.Bookmarks
Debug.Print oBookmark.Name
Next oBookmark

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Mike Fellows - 05 Oct 2006 09:14 GMT
brilliant
thanks for that
>> Hi,
>>
[quoted text clipped - 24 lines]
> Debug.Print oBookmark.Name
> Next oBookmark