WdStyleSort Enumeration (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Indicates how to sort styles in the Styles task pane.

Name

Value

Description

wdStyleSortByBasedOn

3

Sorts styles based on the item indicated in the Sort Styles Based On option.

wdStyleSortByFont

2

Sorts styles based on the name of the font used.

wdStyleSortByName

0

Sorts styles alphabetically based on the name of the style.

wdStyleSortByType

4

Sorts styles based on whether the style is a paragraph style or character style.

wdStyleSortRecommended

1

Sorts styles based on whether they are recommended for use.

Show: