title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.CalendarBestFitWeekHeight method (Project) |
vbapj.chm2327 |
|
project-server |
|
58b7e8e8-4001-ef47-c7ba-71af617768eb |
06/08/2017 |
medium |
Changes the height of the active calendar box to display all task bars.
expression. CalendarBestFitWeekHeight
expression A variable that represents an Application object.
Boolean
The following example changes the height of the active calendar box to display all task bars.
Sub CalendarBestFit_WeekHeight()
Dim Result As Boolean
'Activate Caldender view
ViewApply Name:="Calendar"
Result = CalendarBestFitWeekHeight()
End Sub
[!includeSupport and feedback]