Trouble expert help how to click on the sign back button
I am in
The set obj=IE. Document. GetElementsbyTagNmae (" span ")
Dim item
Dim flag
For each item in obj
. If the item id="qt" then
Flag=1
The else
Flag=0
End the if
Next
If flag=0 then
Msgbox "1"
The else
Msgbox "0"
End the if
I'm using MSGBOX to judge whether it is good to find then click
But every time is 0
Excuse me, how should change?
Web page code is as follows:
CodePudding user response:
After the flag=1 addThe Exit For
CodePudding user response: