G
George Hester
Sub TestReadHTML(ieDoc As String)
Dim ieApp As SHDocVw.InternetExplorer
Dim webDoc As Object
Dim ol As New Outlook.Application
Dim str As String
Dim itm As MailItem
Set ieApp = CreateObject("InternetExplorer.Application")
ieApp.Visible = True
ieApp.navigate ieDoc
Set webDoc = ieApp.document
Set itm = ol.CreateItem(0)
itm.HTMLBody = webDoc.documentElement.outerHTML
itm.InternetCodepage = 1253
Debug.Print itm.HTMLBody
itm.Display
End Sub
Dim ieApp As SHDocVw.InternetExplorer
Dim webDoc As Object
Dim ol As New Outlook.Application
Dim str As String
Dim itm As MailItem
Set ieApp = CreateObject("InternetExplorer.Application")
ieApp.Visible = True
ieApp.navigate ieDoc
Set webDoc = ieApp.document
Set itm = ol.CreateItem(0)
itm.HTMLBody = webDoc.documentElement.outerHTML
itm.InternetCodepage = 1253
Debug.Print itm.HTMLBody
itm.Display
End Sub