返回一个 SmartTagOptions 对象,该对象代表能与智能标记一起进行操作的选项。
expression.SmartTagOptions
expression 必需。该表达式返回“应用于”列表中的对象之一。
在本示例中,Microsoft Excel 将智能标记选项的显示设置通知给用户。
Sub CheckSmartTagOptions()
' Check the display options for smart tags.
Select Case ActiveWorkbook.SmartTagOptions.DisplaySmartTags
Case xlButtonOnly
MsgBox "The button for smart tags will only be displayed."
Case xlDisplayNone
MsgBox "Nothing will be displayed for smart tags."
Case xlIndicatorAndButton
MsgBox "The button and indicator will be displayed for smart tags."
End Select
End Sub