TimelineView.ShowWeekNumbers Property
Outlook Developer Reference |
Returns or sets a Boolean value that indicates whether week number labels are displayed in the timeline scale for the TimelineView object. Read/write.
Version Information
Version Added: Outlook 2007
Syntax
expression.ShowWeekNumbers
expression A variable that represents a TimelineView object.
Remarks
If this property is set to True, the location in which week number labels are displayed in the timeline scale for the TimelineView object depends on the value of the TimelineViewMode property.
Property value | Label location |
olTimelineViewDay | Displayed in the upper portion of the timeline scale, prefacing the date label. |
olTimelineViewWeek | Displayed in the upper portion of the timeline scale, prefacing the week label. |
olTimelineViewMonth | Displayed in the lower portion of the timeline scale, replacing the day and date labels. |
Example
The following Visual Basic for Applications (VBA) example configures the current TimelineView object to display Outlook items by month, with week number labels on the lower portion of the timeline scale, with labels no longer than 40 characters.
Visual Basic for Applications |
---|
|
See Also