I\'ve been searching this whole forum, msdn and specialised tutorials and I can\'t find the answer for VBA:
How can I make the getElementById
work in an access VBA
<div>
s of that tag, testing their ID
property with Like
.Try something like this one:
Dim ContainerDiv As HTMLDivElement, ResultDIV As HTMLDivElement
Set ContainerDiv = HTMLDoc.getElementById("rowToolTipContainer")
For Each ResultDIV In ContainerDiv.GetElementsByTagName("div")
If ResultDIV.ID Like "resultsTooltip*Contents" Then
'' What do you want to do here?
Exit For
End If
Next