Class JournalModule (Outlook VBA)

The class JournalModule represents the Journal navigation module in the navigation pane of an explorer. To use a JournalModule class variable it first needs to be instantiated, for example

Class

Returns an OlObjectClass constant indicating the object's class. Here you can find possible values for OlObjectClass.

This property returns olJournalModule for the JournalModule object.


Dim jme As JournalModule: Set jme = 
Dim oocsClass As OlObjectClass
oocsClass = jme.Class

Name

Returns a String value that represents the localized display name for the JournalModule object.


Dim jme As JournalModule: Set jme = 
Dim strName As String
strName = jme.Name

Returns a NavigationGroups object that contains the set of navigation groups associated with the JournalModule object.


Dim jme As JournalModule: Set jme = 
Dim ngsNavigationGroups As NavigationGroups
Set ngsNavigationGroups = jme.NavigationGroups

Returns an olNavigationModuleType constant that represents the navigation module type for the object. Here you can find possible values for OlNavigationModuleType.

This property returns olModuleJournal for the JournalModule object.


Dim jme As JournalModule: Set jme = 
Dim onmNavigationModuleType As OlNavigationModuleType
onmNavigationModuleType = jme.NavigationModuleType

Position

Returns or sets a Long value that represents the ordinal position of the JournalModule object when it is displayed in the navigation pane.

This property can only be set to a value between 1 and 9. An error occurs if you attempt to set this property to a value outside that range. Changing the value of this property for a given JournalModule object changes the Position values of other navigation modules in a NavigationModules collection, depending on the relative change between the new value and the original value.


Dim jme As JournalModule: Set jme = 
jme.Position =

Session

Returns the NameSpace object 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 perform the same function:

Visible

Returns or sets a Boolean value that determines whether the JournalModule object is displayed in the navigation pane.


Dim jme As JournalModule: Set jme = 
jme.Visible = True