• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Onclick method

sms2luv

Member
Wanted to know how to use onclick method in VBA.
I mean someone told me that if you are not able to use click on a web page elements, you can use onclick as an alternative
 
I tried onclick and it doesn't seem to be working.
I used early binding.
Code:
Set Htmldoc = ie.document 
Set Htmla = htmldoc.all. items("submit") 
Htmla.onclick
This doesn't click the button on page.
Any idea
 
Hi !

Check first within your favorite webbrowser inner inspector tool
if the object onclick property is not nothing or empty.
(html basics, nothing to do with VBA neither Excel …)
If nothing of course this statement just does nothing !
So you have to find out another way …

Without any access to the webpage no further help is possible,
just see threads within this forum or all over the Web.
 
Back
Top