Class ListGalleries (Word VBA)

A collection of ListGallery objects that represent the three tabs in the Bullets and Numbering dialog box. To use a ListGalleries class variable it first needs to be instantiated, for example


Dim lgs as ListGalleries
Set lgs = ListGalleries

For Each

Here is an example of processing the ListGalleries items in a collection.


Dim lgy As ListGallery
For Each lgy In ListGalleries
	
Next lgy

Count

Returns a Long that represents the number of list galleries in the collection.


Dim lngCount As Long
lngCount = ListGalleries.Count

Item

Returns an individual ListGalleries object in a collection.

Item (Index)

Index: The individual object to be returned.


Dim lgy As ListGallery
Set lgy = ListGalleries(Index:=1)