Lists interface

A collection of List objects that represent all the lists in the specified document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

No code example is currently available or this language may not be supported.

Use the Lists property to return the Lists collection.

Use Lists(index), where index is the index number, to return a single List object.

When you use a For Each...Next loop to enumerate the Lists collection, the lists in a document are returned in reverse order.

To add a new list to a document, use the ApplyListTemplate method with the ListFormat object for a specified range.

You can manipulate the individual List objects within a document, but for more precise control you should work with the ListFormat object.

Picture-bulleted lists are not included in the Lists collection.

Show: