Edit

Share via


WdStyleSort enumeration (Word)

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.