返回一个 String 类型的值,该值代表指定 ListFormat 对象的选定区域中第一段的列表值的外观。例如,字母顺序列表的第二段的返回值为“B”。只读。
expression.ListString
expression 必需。该表达式返回一个 ListFormat 对象。
对于项目符号列表,需应用正确的字体,以便查看字符串。许多项目符号使用 Symbol 或 Wingdings 字体。
用 ListValue 属性可返回段落的编号。
本示例显示选定内容中第一段的编号和代表列表值的字符串。
v = Selection.Range.ListFormat.ListValue
lstring = Selection.Range.ListFormat.ListString
MsgBox "List value " & v _
& " is represented by the string " & lstring