DefaultSorting Property Example

This example sorts bookmarks by location and then displays the Bookmark dialog box.

ActiveDocument.Bookmarks.DefaultSorting = wdSortByLocation
Dialogs(wdDialogInsertBookmark).Show