Application.CalendarBestFitWeekHeight Method

Project Developer Reference

Changes the height of the active calendar box to display all task bars.

Syntax

expression.CalendarBestFitWeekHeight

expression   A variable that represents an Application object.

Return Value
Boolean

Example
The following example changes the height of the active calendar box to display all task bars.

Visual Basic for Applications
  Sub CalendarBestFit_WeekHeight()
Dim Result As Boolean

'Activate Caldender view
ViewApply Name:="Calendar"
Result = <strong class="bterm">CalendarBestFitWeekHeight</strong>()

End Sub

See Also