SmartTag Object (Access)
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

SmartTag Object (Access)

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.

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.

Note 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.

© 2016 Microsoft