Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.03 KB

Word.Bookmarks.DefaultSorting.md

File metadata and controls

47 lines (27 loc) · 1.03 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Bookmarks.DefaultSorting property (Word)
vbawd10.chm157745155
vbawd10.chm157745155
Word.Bookmarks.DefaultSorting
86f17298-8a11-a5d6-05fd-4cb87f6e5f91
06/08/2017
medium

Bookmarks.DefaultSorting property (Word)

Returns or sets the sorting option for bookmark names displayed in the Bookmark dialog box (Insert menu). Read/write WdBookmarkSortBy.

Syntax

expression. DefaultSorting

expression Required. A variable that represents a 'Bookmarks' collection.

Remarks

This property doesn't affect the order of Bookmark objects in the Bookmarks collection.

Example

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

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

See also

Bookmarks Collection Object

[!includeSupport and feedback]