ListLevel.LinkedStyle property (Word)

Returns or sets the name of the style that's linked to the specified ListLevel object. Read/write String.

Syntax

expression. LinkedStyle

expression An expression that returns a 'ListLevel' object.

Example

This example sets the variable myListTemp to the first list template (excluding None) on the Outline Numbered tab in the Bullets and Numbering dialog box (Format menu). Each level in the list has a matching heading style linked to it.

Set myListTemp = _ 
 ListGalleries(wdOutlineNumberGallery).ListTemplates(1) 
For Each mylevel In myListTemp.ListLevels 
 mylevel.LinkedStyle = "Heading " & mylevel.index 
Next mylevel

See also

ListLevel Object

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.