다음을 통해 공유


ListGallery.Modified Property (Word)

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 An expression that returns a ListGallery object.

Remarks

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

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

See Also

Concepts

ListGallery Object

ListGallery Object Members