You don't need any javascript-support, to read-out the plain-text from some HTML-Document-input
(if that's what you are after, which isn't entirely clear)...
FWIW, here's a simple function, which does just that:
OlafCode:Private Sub Form_Load() Debug.Print HtmlToText("<html><body><p>Some HTML to be Parsed</p></body></html>") End Sub Function HtmlToText(sHTML As String) As String With CreateObject("htmlfile") .write sHTML: HtmlToText = .body.innerText End With End Function




Reply With Quote
