HTMLDocument Property
Returns an HTMLDocument object that specifies the HTML object Model associated with the HTML document in the current view (assuming one exists).
expression.HTMLDocument
expression Required. An expression that returns an Explorer object.
Remarks
In order to use this property you must set the homepage property of your MAPIfolder to a Web page, or set the WebViewURL property of the MAPIFolder object to a web page.
Example
The following example accesses the Outlook View Control.
Sub GetHTML()
'Returns the Outlook View control
Dim objExp As Explorer
Set objExp = Application.ActiveExplorer
Dim HTMLDoc As HTMLDocument
Set HTMLDoc = objExp.HTMLDocument
Dim objVC As ViewControl
Set objVC = HTMLDoc.All.Tags("object").Item(0).Object
End Sub