Share via


SmartTag Object

Access Developer Reference

Represents a smart tag that has been added to a control on a form or report. The SmartTag object is a member of the SmartTags collection.

Remarks

To return a single SmartTag object, use the Item method of the SmartTags collection, or use SmartTags (Index), where Index represents the number of the smart tag.

Bb214251.vs_note(en-us,office.12).gif  Note
Unlike the SmartTags collections in Microsoft Excel and Microsoft Word, the SmartTags collection in Microsoft Access is zero-based. Therefore, the code control.SmartTags(0) returns the first smart tag for the specified control.

To return the collection of actions available for the smart tag, use the SmartTagActions property. To perform a smart tag action, use the Execute method of the SmartTagAction object.

See Also