Ver Mensaje Individual
  #7 (permalink)  
Antiguo 04/11/2008, 09:41
Avatar de AlfredoGoa
AlfredoGoa
 
Fecha de Ingreso: octubre-2008
Mensajes: 12
Antigüedad: 16 años, 6 meses
Puntos: 0
Respuesta: Comparacion con IF

bueno si no puedes con los tag podrias crear un arreglo
Código:
Private Sub Command1_Click()
Dim Etiqueta(9) As String
Etiqueta(0) = "Nombre1"
Etiqueta(1) = "Nombre2"
Etiqueta(2) = "Nombre3"
Etiqueta(3) = "Nombre4"
Etiqueta(4) = "Nombre5"
Etiqueta(5) = "Nombre6"
Etiqueta(6) = "Nombre7"
Etiqueta(7) = "Nombre8"
Etiqueta(8) = "Nombre9"
Etiqueta(9) = "Nombre10"
Dim i As Integer
For i = 0 To 9
    If Text1(i) = "" Then
        MsgBox "el " + Etiqueta(i) + " esta vacio."
        Exit For
    End If
Next i
End Sub
saludos