Ver Mensaje Individual
  #3 (permalink)  
Antiguo 17/10/2006, 11:50
Avatar de black_devil
black_devil
 
Fecha de Ingreso: junio-2006
Mensajes: 89
Antigüedad: 17 años, 10 meses
Puntos: 1
Hola, también puede ser, en un form en la propiedad Keypreview de éste, cambiarla a True, y en el evento:

Código:
Private Sub Form_KeyPress(KeyAscii As Integer)
      If KeyAscii = 13 Then
         SendKeys "{tab}"
         KeyAscii = 0
     End If
 End Sub
ó ...


Código:
Private Sub Form_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Or KeyAscii = 9 Then KeyAscii = 0
End Sub