如果能显示函数的“工具提示”,则该值为 True。Boolean 类型,可读写。
expression.DisplayFunctionToolTips
expression 必需。该表达式返回“应用于”列表中的对象之一。
在本示例中,Microsoft Excel 将显示函数的“工具提示”的状态通知用户。
Sub CheckToolTip()
' Notify the user of the ability to display function ToolTips.
If Application.DisplayFunctionToolTips = True Then
MsgBox "The ability to display function ToolTips is on."
Else
MsgBox "The ability to display function ToolTips is off."
End If
End Sub