View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Andy Pope Andy Pope is offline
external usenet poster
 
Posts: 2,489
Default What does the Userform.Tag do?

Hi,

The help files says,

Stores additional information about an object.

Syntax

object.Tag [= String]

The Tag property syntax has these parts:

Part Description
object Required. A valid object.
String Optional. A string expression identifying the object. The default
is a zero-length string ("").


Remarks

Use the Tag property to assign an identification string to an object
without affecting other property settings or attributes.

For example, you can use Tag to check the identity of a form or control
that is passed as a variable to a procedure.

Cheers
Andy

On 05/03/2010 12:51, Brad E. wrote:
I am curious what the Tag part of a Userform is for?


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info