CommandUnderlines 属性

       

返回或设置 Microsoft Excel for the Macintosh 中命令加下划线的状态。可以是以下 XlCommandUnderlines 常量之一。Long 类型,可读写。

expression.C ommandUnderlines

expression   必需。该表达式返回“应用于”列表中的对象之一。

说明

在 Microsoft Excel for Windows 中,该属性返回的总是 xlCommandUnderlinesOn,该属性只能设为 xlCommandUnderlinesOn,不允许设为其他任何值。

示例

本示例关闭 Microsoft Excel for the Macintosh 中的命令加下划线。

Application.CommandUnderlines = xlCommandUnderlinesOff