Application.ListGalleries Property
Word Developer Reference |
Returns a ListGalleries collection that represents the three list template galleries. .
Syntax
expression.ListGalleries
expression A variable that represents an Application object.
Remarks
Each template gallery (Bulleted, Numbered, and Outline Numbered) corresponds to a tab in the Bullets and Numbering dialog box (Format menu). For information about returning a single member of a collection, see Returning an Object from a Collection.
Example
This example sets the variable mylsttmp to the second list template on the Outline Numbered tab in the Bullets and Numbering dialog box. The example then applies that template to the first list in the active document.
Visual Basic for Applications |
---|
|
This example cycles through the ListGalleries collection and changes the templates in each list template gallery back to the built-in template.
Visual Basic for Applications |
---|
|
See Also