• Inicio
  • Buscar
  • Ingresar
  • Registrarse

    Starfield: el juego que revolucionará el espacio y la tecnología

    • Hack x Crack - Comunidad de Seguridad informática »
    • Programación »
    • Scripting »
    • codigo vba NO detecta error en aplicacion externa
    • Imprimir
    Páginas: [1]   Ir Abajo

    Autor Tema: codigo vba NO detecta error en aplicacion externa  (Leído 2711 veces)

    Desconectado Cris_B

    • { L3 } Über
    • ***
    • Mensajes: 208
      • Ver Perfil
    codigo vba NO detecta error en aplicacion externa
    « en: Enero 09, 2023, 07:41:36 pm »
    junto con agradecerles y saludarles, tengo el siguiente Código:

    Sub OrdenaEscribe()
     
        ActiveCell.Select
        Do While ActiveCell.Value <> Empty
                Call AppActivate("Smart - ISP")
                Sleep 430
                Range("B" & ActiveCell.Row).Select
                SendKeys Range("B" & ActiveCell.Row).Value, True
                Sleep 650
                SendKeys "{ENTER}", True
                Sleep 750
                SendKeys Range("D" & ActiveCell.Row).Value, True
                Sleep 600
                SendKeys "{ENTER}", True
                ActiveCell.Offset(0, -1).Interior.Color = vbGreen
                'Actualizar la barra de progreso
                ActiveCell.Offset(1, 0).Select
        Loop

       
        MsgBox "Carga de datos finalizada", vbExclamation
       
    End Sub


    ....
    El problema que tengo es que la aplicación externa a veces da errores y el Código no los detecta, por lo que sigue ejecutándose sin ninguna pena.

    Si alguien le ha pasado y lo soluciono agradezco su ayuda.
    En línea
    Somewhere over the rainbow
    Way up high,
    There's a land that I heard of
    Once in a lullaby.
    Somewhere over the rainbow
    Skies are blue,
    And the dreams that you dare to dream
    Really do come true.

    Desconectado Cris_B

    • { L3 } Über
    • ***
    • Mensajes: 208
      • Ver Perfil
    Re:codigo vba NO detecta error en aplicacion externa
    « Respuesta #1 en: Enero 10, 2023, 03:58:32 pm »
    primer día, sin respuestas...
    En línea
    Somewhere over the rainbow
    Way up high,
    There's a land that I heard of
    Once in a lullaby.
    Somewhere over the rainbow
    Skies are blue,
    And the dreams that you dare to dream
    Really do come true.

    • Imprimir
    Páginas: [1]   Ir Arriba
    • Hack x Crack - Comunidad de Seguridad informática »
    • Programación »
    • Scripting »
    • codigo vba NO detecta error en aplicacion externa
     

    • SMF | SMF © 2013, Simple Machines
    • XHTML
    • RSS
    • WAP2
    Va un mudo y le dice a un sordo: Hack x Crack usa cookies. Pues eso... Learn more