title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Bookmarks.DefaultSorting property (Word) |
vbawd10.chm157745155 |
|
|
86f17298-8a11-a5d6-05fd-4cb87f6e5f91 |
06/08/2017 |
medium |
Returns or sets the sorting option for bookmark names displayed in the Bookmark dialog box (Insert menu). Read/write WdBookmarkSortBy.
expression. DefaultSorting
expression Required. A variable that represents a 'Bookmarks' collection.
This property doesn't affect the order of Bookmark objects in the Bookmarks collection.
This example sorts bookmarks by location and then displays the Bookmark dialog box.
ActiveDocument.Bookmarks.DefaultSorting = wdSortByLocation
Dialogs(wdDialogInsertBookmark).Show
[!includeSupport and feedback]