View Single Post
  #22   Report Post  
Posted to microsoft.public.excel.programming
Tim Coddington Tim Coddington is offline
external usenet poster
 
Posts: 94
Default Web browser question

Woah!! Thanks Mr Naik!! And this after all hope had been lost.
Works great for this first part.

-Tim

"Sharad Naik" wrote in message
...
Hello Tim,

In your code, just remove the line 'ifp.Click'
and in its place insert following two lines

Set ifp = ieAlphaTrade.Document.all.Item("loginForm")
ifp.Submit

(i.e. you enter username and password through your code as per your code.
then submit the form, which invokes the 'Post' method on the web site and
you go through)

Sharad

"Tim Coddington" wrote in message
...
Thanks anyway, Mr Shetty.
"Shetty" wrote in message
oups.com...
Tim,
Sorry, I am not expert in vba or ie.
I have seen your login page and the html source also. This site is
using the method "POST" to login. I never came across this method. The
code I posted will work if the site uses click event or javascript for
login process.
I have done some trials but could not workout the solution.

There are experts here who may help you solving this.

Regards,
Shetty.