Application.CalendarLayout method (Project)

Changes how task bars are arranged on the Calendar.

Syntax

expression. CalendarLayout( _SortOrder_, _AutoLayout_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
SortOrder Optional Boolean True if tasks are displayed in the Calendar using the current sort order. False if the sort order changes to display as many tasks as possible. The default value is True.
AutoLayout Optional Boolean True if the Calendar view automatically changes to reflect task changes.

Return value

Boolean

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.