Modified Property

Applies To

ListGallery object.

Description

True if the specified list template is not the built-in list template for that position in the list gallery. Read-only Boolean.

Syntax

expression.Modified(Index)

expression Required. An expression that returns a ListGallery object.

Index Required Long. A number from 1 to 7 that corresponds to the position of the template in the Bullets and Numbering dialog box. Skipping the None option, the templates are numbered from left to right, starting with the top row.

Remarks

Use the Reset method to set a list template in a list gallery back to the built-in list template.

See Also

Reset method.

Example

This example checks to see whether the first template on the Bulleted tab in the Bullets and Numbering dialog box has been changed. If it has, the list template is reset.

temp = ListGalleries(wdBulletGallery).Modified(1)
If temp = True Then
    ListGalleries(wdBulletGallery).Reset(1)
Else
   Msgbox "This is the built-in list template."
End If