Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/06/2010, 10:42
Avatar de lokoman
lokoman
 
Fecha de Ingreso: septiembre-2009
Mensajes: 502
Antigüedad: 14 años, 7 meses
Puntos: 47
Respuesta: formato condicional con porcentajes

Hola!!!

Intenta asi:
Código vb:
Ver original
  1. Private Sub txt_Change()
  2.     If txt.Text <> Empty Then
  3.         If Val(txt.Text) <= 99 Then
  4.                 txt.BackColor = vbGreen
  5.             Else
  6.                 txt.BackColor = vbRed
  7.         End If
  8.     End If
  9. End Sub