So this code works fine (it was provided by another member here at Mr.Excel.com):
Sub GetTextOrHtmlFromIe()
'Standard module code, like: Module1.
Dim bln As Boolean
Dim NPOFile$, myFile$
Dim ie As Object, objDoc As Object, f As Object, fs As Object
Const strMsg As String = "To get a text...