ListString Property

Microsoft Word Visual Basic

ListString Property

       

Returns a String that represents the appearance of the list value of the first paragraph in the range for the specified ListFormat object. For example, the second paragraph in an alphabetic list would return B. Read-only.

expression.ListString

expression   Required. An expression that returns a ListFormat object.

Remarks

For a bulleted list, you will need to apply the correct font in order to see the string. Most bullets use the Symbol or Wingdings font.

Use the ListValue property to return the numeric value of the paragraph.

Example

This example displays both the numeric value of the first paragraph in the selection and the string representation of the list value.

v = Selection.Range.ListFormat.ListValue
lstring = Selection.Range.ListFormat.ListString
MsgBox "List value " & v _
    & " is represented by the string " & lstring