Well Shetty, if username and passowrd entry is in the web page script
then these can be supplied through the VBA code (or even in the worst
case, SendKeys will also work since Excel will not hold the code
execution.)
But if the site uses windows login, a seperate dialogue box asking for
username and passowrd pops up. Here it is not possible to supply the
username and password through VBA code. Excel will hold the execeution
of code. That's when you need to use SendKeys from another application
(one of the ways, there could be better way which I would like to know.)
Since OP mentioned SendKeys I assumed that that web site uses Windows
login.
Sharad
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!