Syntax

expression.EmbedSmartTags

expression A variable that represents a SmartTagOptions object.

Example

In this example, Microsoft Excel determines if smart tags are enabled for the active workbook and notifies the user.

Visual Basic for Applications
Sub UseSmartTags() ' Determine if smart tags are enabled for this workbook. If ActiveWorkbook.SmartTagOptions.EmbedSmartTags = True Then MsgBox "Smart tags can be embedded in this workbook." Else MsgBox "Smart tags can not be embedded in this workbook." End If End Sub
embed embed smart tags embedsmart embedsmarttags embedsmarttags property

See also: