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

ListGallery 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.