Share via


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

Concepts

ListTemplate Object

ListTemplate Object Members