Compartilhar via


propriedade Tab.Name (Script do Outlook Forms)

Returns or sets a String that specifies the name of a control. Leitura/gravação.

Sintaxe

expressão. Nome

Expressão Uma variável que representa um objeto Tab .

Comentários

Guidelines for assigning a string to Name, such as the maximum length of the name, vary from one application to another.

For objects, the default value of Name consists of the object's class name followed by an integer. For example, the default name for the first TextBox you place on a form is TextBox1. The default name for the second TextBox is TextBox2.

You can set the Name property for a control from the control's property sheet or, for controls added at run time, by using program statements. If you add a control at design time, you cannot modify its Name property at run time.

Each control added to a form at design time must have a unique name.

Suporte e comentários

Tem dúvidas ou quer enviar comentários sobre o VBA para Office ou sobre esta documentação? Confira Suporte e comentários sobre o VBA para Office a fim de obter orientação sobre as maneiras pelas quais você pode receber suporte e fornecer comentários.