ListTemplate.Convert method (Word)
Converts a multiple-level list to a single-level list, or vice versa.
Syntax
expression. Convert
( _Level_
)
expression Required. A variable that represents a 'ListTemplate' object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Level | Optional | Variant | The level to use for formatting the new list. When converting a multiple-level list to a single-level list, this argument can be a number from 1 through 9. When converting a single-level list to a multiple-level list, 1 is the only valid value. If this argument is omitted, 1 is the default value. |
Remarks
You cannot use the Convert method on a list template that is derived from the ListGalleries collection.
Example
This example converts the first list template in the active document. If the list template is multiple-level, it becomes single-level, or vice versa.
ActiveDocument.ListTemplates(1).Convert
See also
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.