如果应显示“插入选项”按钮,则该值为 True。Boolean 类型,可读写。
expression.DisplayInsertOptions
expression 必需。该表达式返回“应用于”列表中的对象之一。
在本示例中,Microsoft Excel 将显示“插入选项”按钮的状态通知用户。
Sub SettingToolTip()
' Notify the user of the ToolTip status.
If Application.DisplayInsertOptions = True Then
MsgBox "The ability to display the Insert Options button is on."
Else
MsgBox "The ability to display the Insert Options button is off."
End If
End Sub