You could try to use this logic:<br>
Put all the relevant html into a string, use INSTR to find the first tag and the end tag and pick out the data between the two locations.<br>
e.g.<br>
--------------- code -----------------------------------<br>
<br>
dim strHTML as string, strWhatIsWanted as string<br>
dim strStartTag as string, strEndTag as string<br>
dim iStart as integer, iEnd as integer<br>
<br>
strStartTag = "<starttag>"<br>
strEndTag = "</starttag>"<br>
<br>
strHTML = (concatenate all the lines of html into one string)<br>
<br>
iStart = instr(strHTML, strStartTag)<br>
iend = instr(strHTML, strEndTag)<br>
<br>
strWhatIsWanted = mid(iStart + len(strStartTag), iEnd -(iStart + len(strStartTag))<br>
<br>
--------------- end code -------------------------------<br>
<br>
NOTE: this is untested code so you may need to adjust the start and end positions for the "mid" function.<br>
<br>
HTH
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.