Tag Property


Stores unique identifier for object. Read/Write Variant.

Syntax

object.Tag

object A variable that represents a Composite Controls or ActiveX object.

Remarks

Tag is used to store unique identifiers for use in the cCompositeControls class instance's global object references collection.

Example

This example shows how the Tag property is commonly used:

'create a unique identifier consisting of the current session ID and the memory address of the object.
MyControl.Tag = SESSIONID & ObjPtr(MyControl)

Last edited Dec 23, 2010 at 11:41 AM by vba_junkie, version 2

Comments

No comments yet.