Information générale
Catégorie:
Applications Internet
Hi,
The code works and it inserts the user id and password into the web page but I can't get it to submit the page.
>>
Also why did changing the oIE.DOCUMENT.FORMS(0) to oIE.DOCUMENT.FORMS(1) make it work?
<<
The page you navigated has 2 forms:
Forms(0).Name = "formheader"
Forms(1).Name = "login"
so Forms(1) is the one you're after. Forms(1) OnSubmit function calls a javascript Validation() function - I didn't delve deeply into this but my guess is that the validation is failing for some reason thereby preventing the submit.
HTH,
Viv
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement