本例显示当前活动文档的名称。

MsgBox ActiveDocument.FullName