本示例为设置“插入”菜单上“书签”对话框中显示书签名的排序依据选项为按名称排列。
ActiveDocument.Bookmarks.DefaultSorting = wpsSortByName