VBA getElementById with dynamic ID
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 module where the id to find is dynamic? Let's see the html code: <DIV id=rowToolTipContainer> <DIV class=contactsCard id=resultsTooltip1122286Contents style="DISPLAY: none"> <TABLE class="shadow-box tooltip"> <TBODY> And how I'm trying to find it: Dim ResultDIV As HTMLDivElement Set ResultDIV = HTMLDoc.getElementById("resultsTooltip*") Let me say the html returned has a different id (the numbers change) depending on each result so the