Compartilhar via


ListFormat.RemoveNumbers Method

Word Developer Reference

Removes numbers or bullets from the specified list.

Syntax

expression.RemoveNumbers(NumberType)

expression   A variable that represents a ListFormat object.

Parameters

Name Required/Optional Data Type Description
NumberType Optional WdNumberType The type of number to be removed.

Example

This example removes the bullets or numbers from any numbered paragraphs in the selection.

Visual Basic for Applications
  Selection.Range.ListFormat.RemoveNumbers

This example removes the LISTNUM fields from the selection.

Visual Basic for Applications
  Selection.Range.ListFormat.RemoveNumbers wdNumberListNum

See Also