ListString Property 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