Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Function Registro(RTN As String)
- Dim IE As Object
- Dim Respuesta As String
- Set IE = CreateObject("InternetExplorer.Application")
- IE.Navigate "http://enlacertn.sar.gob.hn"
- IE.Visible = True
- While IE.busy
- DoEvents
- Wend
- IE.document.All.Item("txtCriterio").Value = RTN
- IE.document.All("btnBuscar").Click
- Application.Wait (Now + TimeValue("0:00:03"))
- Do Until IE.ReadyState = 4
- DoEvents
- Loop
- Respuesta = IE.document.getElementById("LblNombre").innertext
- Registro = Respuesta
- IE.Quit
- End Function
Add Comment
Please, Sign In to add comment