Onother option should be "disabling BBCode", but I dont see such a command.
Try attaching a txt file, using a file sharing facility, for example dropbox or filedropper.com
Bye
Function GetTabbb() As Boolean
Dim myColl As Object, my2Coll As Object
'
myURL = "http://your web address" '<<<<<<<<<<<
Set IE = CreateObject("InternetExplorer.Application")
With IE
.navigate myURL
.Visible = True
Do While .Busy: DoEvents: Loop 'Attesa not busy
Do While .readyState <> 4: DoEvents: Loop 'Attesa documento
End With
'
myStart = Timer 'attesa addizionale
Do
DoEvents
If Timer > myStart + 1 Or Timer < myStart Then Exit Do
Loop
'
Set myColl = IE.document.getElementsByTagName("TABLE")
For Each myitm In myColl
If myitm.classname = "main" Then
Set my2Coll = myitm.getElementsByTagName("td")
If my2Coll(7).innerText = "Yes" Then
GetTabbb = True
End If
End If
Exit For
Next myitm
'
''Stop 'SEE TEXT
'Chiusura IE
IE.Quit
Set IE = Nothing
End Function
YNo = GetTabbb
if YNo then
'What to do if YES
end if
For Each myitm In myColl
Debug.Print myitm.className
If myitm.className = "main" Then
Set my2Coll = myitm.getElementsByTagName("td")
If my2Coll(7).innerText = "Yes" Then
GetTabbb = True
Exit For
End If
End If
' Exit For
Next myitm
Debug.Print GetTabbb, myColl.Length, my2Coll.Length
Set colTR = ie.document.getElementsByTagName("TR")
x = 0
For Each tr In colTR
Set coltd = tr.getElementsByTagName("TD")
For Each td In coltd
x = x + 1
If x = 18 Then
If td.innerText = "Yes" Then
TVT = 1
Else
TVT = 0
End If
GoTo Jump10
End If
Next td
Next tr