Control.SmartTags property (Access)

Returns a SmartTags collection that represents the collection of smart tags that have been added to a control.

Syntax

expression.SmartTags

expression A variable that represents a Control object.

Remarks

Using the SmartTags property will result in a run-time error if the control is not a ComboBox, Label, or TextBox object.

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.