![]() |
how to find username/passowrd controls
Try changing the "section in question" to
Set ipf = .Document.all.Item("ewiHeader_ucEwiLogin_userid") ipf.Value = username Set ipf = .Document.all.Item("ewiHeader_ucEwiLogin_password" ) ipf.Value = pass Set ipf = .Document.all.Item("ewiHeader_ucEwiLogin_ibGo") ipf.Click Do Until .ReadyState = 4 DoEvents Loop Find the items names in the source code and you'll see what you should be looking for. Also note that the "Do" loop is placed after the click event in order to let the new page load before continuing...Ron |
how to find username/passowrd controls
Ron,
Works perfectly, but for learning purposes how did you find the string to replace ..Document.all.Item("name") with ..Document.all.Item("ewiHeader_ucEwiLogin_userid") ? I am not that familiar with html coding "ron" wrote: Try changing the "section in question" to Set ipf = .Document.all.Item("ewiHeader_ucEwiLogin_userid") ipf.Value = username Set ipf = .Document.all.Item("ewiHeader_ucEwiLogin_password" ) ipf.Value = pass Set ipf = .Document.all.Item("ewiHeader_ucEwiLogin_ibGo") ipf.Click Do Until .ReadyState = 4 DoEvents Loop Find the items names in the source code and you'll see what you should be looking for. Also note that the "Do" loop is placed after the click event in order to let the new page load before continuing...Ron |
All times are GMT +1. The time now is 11:27 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com