Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50273

To split a string which are html pulled elements

$
0
0
Hi,

Need to split the string and store it array Query.jpg, only highlighted strings are needed.

how to get rid of the rest. Below code didn't work.:confused:

Dim doc As HTMLDocument
Set doc = IE.document
Dim ret As String
ret = Trim(doc.getElementById("m_7qo0yziAwqKk02Gud0pR").innerText)
MsgBox dd 'this is the message box screenshot attached or shared
Dim var1 As Variant
var1 = Split(ret, " ")
MsgBox var1(0)

Thanks !

Viewing all articles
Browse latest Browse all 50273

Latest Images

Trending Articles



Latest Images