Tag

This property returns and sets an expression that stores any extra data needed for an application.

Syntax

object.Tag [= expression]

Parameters

object
Object expression that evaluates to a control or Form object.
expression
String expression that identifies the object. The default is a zero-length string ("").

Remarks

You can use this property to assign an identification string to an object without affecting any of its other property settings or causing side effects. The Tag property is useful when you need to check the identity of a control that is passed as a variable to a procedure.