Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/06/2009, 18:39
Dark_Musician
 
Fecha de Ingreso: mayo-2009
Mensajes: 31
Antigüedad: 15 años
Puntos: 1
Respuesta: Validar numeros sin evento Onkeypress

Aquí tienes una función:
Código:
Private Function validarNumeros(ByVal texto As String) As Boolean
        If IsNumeric(texto) Then
            Return True
            Exit Function
        End If
        Return False
    End Function
Le pasas el textBox1.text como parámetro.