本示例显示选定部分所在的文档名称和路径。

Msgbox Selection.Document.FullName