SmartTags Property

Microsoft Access Visual Basic

Show All Show All

SmartTags Property

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

expression.SmartTags

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

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

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.