Home >
Software engineering > Excuse me: the HTML how click on it, how do you write VB code? Directions: excuse me this HTML how c
Excuse me: the HTML how click on it, how do you write VB code? Directions: excuse me this HTML how c
Excuse me: the HTML how click on it, how do you write VB code? Give directions
CodePudding user response:
No id, only to determine the elements from other aspects, such as whether the href in contains the wording "switchable viewer/new" etc...
CodePudding user response:
For Each x In wb. Document the GetElementsByTagName (" a ")
MsgBox (x.G etAttribute (" title ") & amp; VbCrLf & amp; X.G etAttribute (" href "))
Next
Literally is judge the title or to judge href or two a piece of judgment, so you can determine the object,
But why not directly navigate the url?
CodePudding user response:
If, navigate the url, why not, in front of me is navigate the url and then click on A tag in the HTML
CodePudding user response:
No see