Class PreviewPane (Outlook VBA)
Displays content in a "single pane mode" by showing only the Preview Pane view. To use a PreviewPane class variable it first needs to be instantiated, for example
Dim ppe as PreviewPane
Set ppe = ActiveExplorer.PreviewPane
Class
Returns a constant in the OlObjectClass enumeration indicating the class of the PreviewPane Object. Here you can find possible values for
Dim oocsClass As OlObjectClass
oocsClass = ActiveExplorer.PreviewPane.Class
Session
Returns the NameSpace for the current session.
The Session property and the GetNamespace method can be used interchangeably to obtain the NameSpace object for the current session. Both members serve the same purpose. For example, the following statements do the same function: Set objNamespace = Application.Getnamespace("MAPI") SetjobSession = Application.Session
WordEditor
Returns the Microsoft Word Document Object Model of the message being displayed.
The WordEditor property is only valid ifIsWordMail returns True and the EditorType is olEditorWord. The returned WordDocument object provides access to most of the Word object model, except for the following members:
Dim objWordEditor As Object
Set objWordEditor = ActiveExplorer.PreviewPane.WordEditor