ListFormat.ConvertNumbersToText method (Word)

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

Syntax

expression. ConvertNumbersToText

expression A variable that represents a 'ListFormat' object.

Example

This example converts the preset numbers in myRange to text without affecting any LISTNUM fields.

Set myDoc = ActiveDocumentSet myRange = _ 
    myDoc.Range(Start:=myDoc.Paragraphs(12).Range.Start, _ 
    End:=myDoc.Paragraphs(20).Range.End) 
myRange.ListFormat.ConvertNumbersToText wdNumberParagraph

See also

ListFormat Object

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.