本示例显示活动工作簿的名称。

MsgBox "the name of the active workbook is" & ActiveWorkbook.Name