Hi everyone
So this is my question...
I need to log in so many times in so many computers, in a specific web page "http://webshipping.dhl .com.mx"
I wold like to do it with a macro Im using Excel 2003
By now, I have the next code, But doesnt seems to work, please help me...
So this is my question...
I need to log in so many times in so many computers, in a specific web page "http://webshipping.dhl .com.mx"
I wold like to do it with a macro Im using Excel 2003
By now, I have the next code, But doesnt seems to work, please help me...
Code:
Sub pag() Dim myie As New InternetExplorer 'New' Dim mydoc As HTMLDocument Dim myurl, usuario As String Dim ieform As Object myurl = "http://webshipping.dhl.com.mx" usuario = "User" myie.navigate myurl myie.Visible = True 'esperar a que cargue la página Do While myie.Busy Or myie.ReadyState <> READYSTATE_COMPLETE DoEvents Loop 'MsgBox myie.LocationName Set mydoc = myie.Document mydoc.forms(0).UserName.Value = usuario ' i get an error here ' code for set the password must be here 'code for submit the form is here 'MsgBox "pausa p/ver si escribió" 'mydoc.forms [0].submit Do While myie.Busy Or myie.ReadyState <> READYSTATE_COMPLETE DoEvents Loop MsgBox myie.LocationName End Sub
Comment