Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/03/2010, 16:39
Avatar de abrahamvj
abrahamvj
 
Fecha de Ingreso: julio-2006
Ubicación: Lima, Peru
Mensajes: 708
Antigüedad: 17 años, 9 meses
Puntos: 18
Respuesta: recorrer textbox y combobox

Dim objeto As Object

For Each objeto In Me.Controls

Select Case TypeName(objeto)

Case "TextBox"

If objeto = "" Then
MsgBox "El " & objeto.Name & " esta vacio"
End If

Case "ComboBox"

If objeto = "" Then
MsgBox "El " & objeto.Name & " esta vacio"
End If

End Select

Next objeto

Abraham