Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/01/2005, 22:41
Avatar de javiergal
javiergal
 
Fecha de Ingreso: enero-2005
Mensajes: 153
Antigüedad: 19 años, 4 meses
Puntos: 0
tienes razon pero cuando escribo textbox1.setfocus tampoco funciona pues el cursor pasa de textbox1 a textbox2 . este es todo el codigo


Private Sub TextBox1_BeforeUpdate(ByVal Cancel As MSForms.ReturnBoolean)
If IsDate(TextBox1) = False Then
MsgBox ("Debe ingresar una fecha")
TextBox1.SetFocus


End If
End Sub