ConvertNumbersToText Method

See Also         Example         Applies To

Changes the list numbers and LISTNUM fields in the specified Document, List, or ListFormat object to text.

Syntax

expression.ConvertNumbersToText(NumberType)

expression   Required. An expression that returns a Document, List, or ListFormat object.

NumberType   Optional Variant. The type of number to be converted. Can be one of the following WdNumberType constants: wdNumberParagraph, wdNumberListNum, or wdNumberAllNumbers. The default value is wdNumberListNum for LISTNUM fields and wdNumberAllNumbers in all other cases.

Remarks

There are two types of numbers: preset numbers (wdNumberParagraph), which you can add to paragraphs by selecting a template in the Bullets and Numbering dialog box; and LISTNUM fields (wdNumberListNum), which allow you to add more than one number per paragraph.

The ConvertNumbersToText method is useful if you want to work with a document in another application and that application doesn't recognize list formatting or LISTNUM fields.

Note   After you've converted list numbers to text, you can no longer manipulate them in a list.