Grandhe Nagaraju
Thursday, May 22, 2014
How to click an image by Macros
This is how we can click an image which contains link for another page.
set htmldoc=IE.Document.Getelementsbytagname("a")
for Each htmlele in htmldoc
if instr(htmlele.innerhtml."Searcj.gif")>0 then
htmlele.click
End if
Next
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment