• 0

vba


Question

post-520161-0-87672600-1400776263.pngola, preciso de ajuda na cria??o de uma macro, para que ela entre na internet em um site privado da minha empresa, possui o campos de login e senha... porem mesmo com a fun??o correta ele n?o identifica os campos ex:

 

 

Sub abrepage()
 
Dim IE As Object
Set IE = CreateObject("internetExplorer.Application")
 
 
Do While IE.Busy
Loop
 
IE.Visible = True
 
 
 
'at? aqui vai tudo ok, porem mesmo com os campos HTML corretos ele n?o localiza o campo e n?o digita o usuario e senha
 
 
IE.Document.getElementbyid("idTxt").innerText = "usuario"
IE.Document.getElementbyid("idTxt2").innerText = "senha"
IE.Document.getElementbyid("pathImage").Click
 
 
 
 
 
End Sub
 
 
n?o sei mais oque fazer me ajudem .... obrigado  :s
 
 
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

As Majesticmerc said (thanks!), this is an English-speaking forum, so you'll either have to find a forum in your language or post in English.

Link to comment
Share on other sites

This topic is now closed to further replies.