SmartTags.Add Method
Excel Developer Reference |
Adds a smart tag. Returns a SmartTag object.
Syntax
expression.Add(SmartTagType)
expression A variable that represents a SmartTags object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
SmartTagType | Required | String | The type of smart tag. |
Return Value
A SmartTag object that represents a new smart tag.
Example
This example adds a smart tag titled MSFT to cell A1, then adds extra metadata called Market with the value of Nasdaq to the smart tag and then returns the value of the property to the user. This example assumes the host system is connected to the Internet.
Visual Basic for Applications |
---|
|
See Also