SmartTags.Add Method
Adds a smart tag. Returns a SmartTag object.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
SmartTagType As String _
) As SmartTag
'Usage
Dim instance As SmartTags
Dim SmartTagType As String
Dim returnValue As SmartTag
returnValue = instance.Add(SmartTagType)
SmartTag Add(
string SmartTagType
)
Parameters
SmartTagType
Type: System.StringRequired String. The type of smart tag.
Return Value
Type: Microsoft.Office.Interop.Excel.SmartTag