Share via


List.ConvertNumbersToText Method

Changes the list numbers and LISTNUM fields in the specified list to text.

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

Syntax

'Declaration
Sub ConvertNumbersToText ( _
    ByRef NumberType As Object _
)
'Usage
Dim instance As List
Dim NumberType As Object

instance.ConvertNumbersToText(NumberType)
void ConvertNumbersToText(
    ref Object NumberType
)

Parameters

  • NumberType
    Type: System.Object%
    Optional Object. The type of number to be converted. Can be any of the WdNumberType constants.

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.

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

See Also

Reference

List Interface

List Members

Microsoft.Office.Interop.Word Namespace