Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub pressBtn()
- 'your html declarations & navigation
- Dim btnColl As IHTMLElementCollection, btn As IHTMLElement
- Set btnColl = ie.document.getElementsByTagName("button")
- For Each btn In btnColl
- If btn.className = "edit" Then
- Exit For
- End If
- Next btn
- btn.Click
- End Sub
Add Comment
Please, Sign In to add comment