Execute Method
The Execute method performs the specified smart tag action.
Smart tag actions are processes that are programmed into smart tags that allow users to perform certain functions related to the smart tag. For example, one action for a smart tag might be to access a Web site, while another action inserts contact information from Microsoft Outlook, while yet another action displays a map and driving directions.
expression.Execute()
expression Required. An expression that returns a SmartTagAction object.
Remarks
Calling the Execute method will result in a run-time error if the smart tag is:
- Located on a report.
- Located on a form in Design view, PivotTable view, or PivotChart view.