RemoveNumbers Method

See Also         Example         Applies To

Removes numbers or bullets from the specified Document, List, or ListFormat object.

Syntax

expression.RemoveNumbers(NumberType)

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

NumberType   Optional Variant. The type of number to be removed. Can be one of the following WdNumberType constants: wdNumberParagraph, wdNumberListNum, or wdNumberAllNumbers. The default value is wdNumberAllNumbers.

Remarks

When this method is applied to a List object, it removes numbers only from paragraphs in the specified list, skipping over any interleaved numbers from other lists. If this method is applied to the ListFormat object for a range of text, all numbers from all lists in the range are removed.